From ac6910ad0da6bcd5d907f356699f9490a6ca13ea Mon Sep 17 00:00:00 2001 From: Alexandre Bourget Date: Fri, 14 Jul 2017 17:35:21 -0400 Subject: [PATCH] Now this config works great. --- .shuttle-go.json | 35 +++++++++++++++++++++++++++++++++++ README.md | 14 ++++++++++++++ 2 files changed, 49 insertions(+) create mode 100644 .shuttle-go.json diff --git a/.shuttle-go.json b/.shuttle-go.json new file mode 100644 index 0000000..ad78480 --- /dev/null +++ b/.shuttle-go.json @@ -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" + } + } + ] +} diff --git a/README.md b/README.md index 33d5bc0..4e1073f 100644 --- a/README.md +++ b/README.md @@ -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