Skip to content

keypress straight up not working

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.

Edited by miguel afgar