diff options
author | cbdev <cb@cbcdn.com> | 2019-08-17 01:46:36 +0200 |
---|---|---|
committer | cbdev <cb@cbcdn.com> | 2019-08-17 01:46:36 +0200 |
commit | 33f4e9c7d865ce518b0ffaf49615121db52a6a9e (patch) | |
tree | aaf5fdb9983d445b5af002813136640c3d8c3fcf /configs | |
parent | 4863711ee2dac065151f5c9ab5508eb479b25b72 (diff) | |
download | midimonster-33f4e9c7d865ce518b0ffaf49615121db52a6a9e.tar.gz midimonster-33f4e9c7d865ce518b0ffaf49615121db52a6a9e.tar.bz2 midimonster-33f4e9c7d865ce518b0ffaf49615121db52a6a9e.zip |
Add new example config
Diffstat (limited to 'configs')
-rw-r--r-- | configs/midi-mouse.cfg | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/configs/midi-mouse.cfg b/configs/midi-mouse.cfg new file mode 100644 index 0000000..7e110ff --- /dev/null +++ b/configs/midi-mouse.cfg @@ -0,0 +1,22 @@ +; Use a Launch Control MIDI controller as mouse input +; Running this configuration requires root privileges on most systems, +; as creating additional input devices could potentially be misused for +; nefarious purposes + +[backend midi] +detect = on + +[evdev mouse] +output = MIDI Mouse +relaxis.REL_X = 255 +relaxis.REL_Y = 255 + +[midi launch] +read = Launch + +[map] +launch.ch0.cc0 > mouse.EV_REL.REL_X +launch.ch0.cc1 > mouse.EV_REL.REL_Y + +launch.ch0.note0 > mouse.EV_KEY.BTN_LEFT +launch.ch0.note1 > mouse.EV_KEY.BTN_RIGHT |