mirror of
https://github.com/moparisthebest/uinput-mapper
synced 2024-12-01 11:22:15 -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)
|