+92
posted by Heye Ec, updated 1 year ago , 3

Hi,

I am using the neo keyboard layout and sublime does not respond to the Up, Down, Left, Right keys for the curosor (with modifier key 4), as described int this thread.

They key events do not seem to be registered at all, because there is no output on the console when running sublime.log_input(True).


Key events for these keys sent from neo and captured by xev look like this:


KeyRelease event, serial 37, synthetic NO, window 0x5000001,
root 0xab, subw 0x0, time 147929662, (95,69), root:(1026,385),
state 0x20, keycode 39 (keysym 0xff51, Left), same_screen YES,
XKeysymToKeycode returns keycode: 113
XLookupString gives 0 bytes:
XFilterEvent returns: False

KeyRelease event, serial 37, synthetic NO, window 0x5000001,
root 0xab, subw 0x0, time 147930082, (95,69), root:(1026,385),
state 0x20, keycode 26 (keysym 0xff52, Up), same_screen YES,
XKeysymToKeycode returns keycode: 111
XLookupString gives 0 bytes:
XFilterEvent returns: False

KeyRelease event, serial 37, synthetic NO, window 0x5000001,
root 0xab, subw 0x0, time 147930505, (95,69), root:(1026,385),
state 0x20, keycode 41 (keysym 0xff53, Right), same_screen YES,
XKeysymToKeycode returns keycode: 114
XLookupString gives 0 bytes:
XFilterEvent returns: False

KeyPress event, serial 37, synthetic NO, window 0x5000001,
root 0xab, subw 0x0, time 147930866, (95,69), root:(1026,385),
state 0x20, keycode 40 (keysym 0xff54, Down), same_screen YES,
XKeysymToKeycode returns keycode: 116
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False



The arrow keys which work in sublime produce the following output:


KeyRelease event, serial 37, synthetic NO, window 0x5000001,
root 0xab, subw 0x0, time 148034511, (273,354), root:(1144,826),
state 0x2000, keycode 111 (keysym 0xff52, Up), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False

KeyRelease event, serial 37, synthetic NO, window 0x5000001,
root 0xab, subw 0x0, time 148035379, (273,354), root:(1144,826),
state 0x2000, keycode 114 (keysym 0xff53, Right), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False

KeyRelease event, serial 37, synthetic NO, window 0x5000001,
root 0xab, subw 0x0, time 148035874, (273,354), root:(1144,826),
state 0x2000, keycode 116 (keysym 0xff54, Down), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False

KeyPress event, serial 37, synthetic NO, window 0x5000001,
root 0xab, subw 0x0, time 148036184, (273,354), root:(1144,826),
state 0x2000, keycode 113 (keysym 0xff51, Left), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False



I'll be very happy if this could be fixed because otherwise this would be an criterion of exclusion for me using sublime...


Tanks and regards!


Vote

@downvoters: care to explain?

I have the same problem, any chances that this will ever be addressed?

I really hope this will be fixed. It would improve my experience developing with Sublime drastically.