Skip to contentSkip to conversation

add context menu key

PATCH Dmitry Torokhov 2 participants 2 messages Nov 27, 2007 – Nov 28, 2007 1 message not in the archive HID

lore
Share & tools
lore
#2 lore raw

Dmitry,

Quoted 6 lines · Aristeu Rozanski
Quoted 3 lines

This patch adds the context menu key (HUT GenDesc 0x84)

Applied, but moved to 0x1bx range. Thank you Aristeu.

moving it to 0x1bx range, the KEY_REMOTE_<num> won't fit anymore, as you noticed already. Also, looking the available ranges, I couldn't find any other that would be suitable:
- 0x1cX is used for KEY_{DEL,INS}_{EOL,EOS,LINE}
- 0x1eX is used for KEY_FN_*
other solution I can see other than using one of these ranges is expanding KEY_MAX, but I'm not sure it's something you want.

Just to help others understand the problem: Dmitry told me about the problem using KEY_<NUM> in remote controls and that using KEY_KP_<NUM> isn't a solution. So I'm trying to define new keys for numbers in remote controls.

Signature · 1 line
Aristeu