miguel afgar opened issue #87: keypress straight up not working at Samuel Nicholas (Enetheru) / midi2input

miguel afgar
2023-03-11T18:30:52Z

I modified the basic.lua script to better fit my needs but neither the original (as in; basic.lua unmodified except for the play line, so I can actually test it with a button on my device), nor the one I have now can actually be used to simulate keypresses. I tried both kernel and X keycodes when calling keypress and all I get is [info] LUA: keypress: 1 (or [info] LUA: keypress: 0x0031), no actual keypress.

I tried and checked other issues already, I have the uinput kernel module and read and write access to /dev/uinput.

I built m2i on Arch Linux using the build instructions provided in the Readme.