Skip to content

wistron_btns: More keymaps, take 2

Éric Piel linux-input lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3wriston_btns: Add acerhk laptop databasedrivers/input/misc/wistron_btns.c+523 -720 replies
2/3wistron_btns: Generic keymapdrivers/input/misc/wistron_btns.c~full+40 -20 replies
3/3wistron_btns: Declare keymaps as initdatadrivers/input/misc/wistron_btns.c+49 -270 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] wistron_btns: More keymaps, take 2

Hello,

This is a new version of my patch to add support for more laptops to the wistron_btns driver. Modifications from the previous version:
* sends lid close/open event as a switch event (not a key event)
* Display on/off is KEY_SCREEN and Display selection is KEY_SWITCHVIDEOMODE, from the discussion they seemed the "less bad" keycodes.
* keymaps are now declared initdata in order to save some memory

Patch 1 adds all the database of acerhk which fits this driver (about 25 more laptops). Patch 2 adds a generic map that should fit most users but has the disadvantage of not being automatic. Patch 3 declares all the keymaps as initdata and copy the right one in memory.

Dmitry, I've tried to make them against your tree (tm610 already applied). Still, if they don't apply cleanly, just tell me and I'll try harder!

See you,
Eric