wiki:Documentation/Keys

Keys

Codes of various keys found on devices, directly usable in libkeys-based configs.

V3

V3 has the notion of "long press". Long-pressed keys are denoted as Hold-<key>, e.g. Hold-Escape.

Key Code
Power button (at top) XF86PowerOff
Right (at left side) Right
Left (at left side) Left
1..0 KP_1..KP_0
Escape
OK Return
+ (on right side) KP_Add
- (on right side) KP_Subtract

When screen is rotated Left/Right keys are rotated too (so they may become Up/Down or switch meaning).

N516

There are no "long presses".

Sadly, wheel at left side of device does not generate any event when pressed.

Key Code
Power button (at top) XF86PowerOff
0..9 KP_0..KP_9
Bookmark / M / button right under 9 space
Scrollwheel up Prior
Scrollwheel down Next
Rotate button XF86RotateWindows
Search/Zoom button XF86Search
Cursor keys Left/Right/Up/Down
Menu Menu
C Escape
OK Return
►/■ XF86AudioPlay

When screen is rotated cursor keys are rotated too.