Now this config works great.

pull/5/head
Alexandre Bourget 2017-07-14 17:35:21 -04:00
rodzic 0e4e53ef54
commit ac6910ad0d
2 zmienionych plików z 49 dodań i 0 usunięć

35
.shuttle-go.json 100644
Wyświetl plik

@ -0,0 +1,35 @@
{
"apps": [
{
"name": "Lightworks",
"match_window_titles": [
"^Lightworks$", ".*"
],
"slow_jog": 200,
"bindings": {
"F5": "a",
"F6": "s",
"F7": "i",
"JogL": "parenleft",
"JogR": "parenright",
"SlowJogL": "comma",
"SlowJogR": "period",
"S-7": "Y",
"S-6": "T",
"S-5": "R",
"S-4": "E",
"S-3": "j",
"S-2": "W",
"S-1": "Q",
"S0": "k",
"S1": "KP_1",
"S2": "KP_2",
"S3": "l",
"S4": "KP_3",
"S5": "KP_4",
"S6": "KP_5",
"S7": "KP_6"
}
}
]
}

Wyświetl plik

@ -45,3 +45,17 @@ TODO
* Try the xdotool with the latest bindings, XTest-based.
* Use xgb's `xtest` package and send the FakeInput directly there.. should work
a lot better.
Disable the native mouse pointer provided by the Shuttle with:
$ xinput --list
"Virtual core pointer" id=0 [XPointer]
"Virtual core keyboard" id=1 [XKeyboard]
"Keyboard2" id=2 [XExtensionKeyboard]
"Mouse2" id=3 [XExtensionKeyboard]
# Disable with:
$ xinput set-int-prop 2 "Device Enabled" 8 0
Ref: https://unix.stackexchange.com/questions/91075/how-to-disable-keyboard