@mdhughes @amdt X11 has XK_Return
for enter or return (whatever the main key on the keyboard is labeled), and XK_KP_Enter
for keypad enter. here’s a bug report where some software wrongly mapped enter/return/keypad enter to XK_KP_Enter
.
The translation of the keycode for the Return key (which is labeled Enter or just with an arrow on some keyboards) would be XK_Return. The Enter key on the keypad, if any, would have the keysym XK_KP_Enter. — ancient xlib programming manual