Josh Goebel
Josh Goebel
If I knew exactly what to do I'd show you, but I'd have to figure it out myself... the constructor is on line 30... ``` _uinput = UInput( ... )...
https://github.com/mooz/xkeysnail/blob/master/xkeysnail/output.py#L30 It's right there, line 30.
@zw963 Try this (and post info here): ``` import evdev device = evdev.InputDevice("/dev/input/event3") device.phys device.info.vendor device.info.product device.info.version device.info.bustype device.input_props() ``` Then try copying all those details into the new UInput...
If you manage to get it working we can see about adding this "cloning" functionality, but we'd need a way to specify WHICH keyboard to clone since technically a user...
Looks right, did it help any? Is xkeysnail being started BEFORE the desktop environment or after?
Hmmm... so it's needed by the graphics target, but does it load first? I don't know - also not sure if that matters...
> sudo chmod 0666 /dev/input/event* /dev/uinput **I would not recommend that.** I think optimally the best way to do this is to let `udev` do it for you... and I'd...
@jvasile Any interest in this still?
@jvasile Pretty sure you can do this already with just conditionals... make a few globals in your config (to manage the state) and then have keys that trigger a custom...
> I bind hjkl to a function then that function check my global "vim_mode" to send custom function or origin hjkl. Yep you can do that now... your command just...