mirror of
https://github.com/moparisthebest/uinput-mapper
synced 2024-11-28 01:52:14 -05:00
16 lines
289 B
Python
16 lines
289 B
Python
from uinputmapper.cinput import *
|
|
|
|
config = {
|
|
(0, EV_KEY) : {
|
|
BTN_MIDDLE : {
|
|
'type' : (0, EV_KEY),
|
|
'code' : KEY_RIGHTMETA,
|
|
'value' : None
|
|
}
|
|
}
|
|
}
|
|
|
|
def config_merge(c):
|
|
c.clear()
|
|
c.update(config)
|