Disabling shoulder buttons when the lid is closed

Malcolm malcolm.parsons at gmail.com
Fri May 1 10:36:02 CEST 2009


2009/4/30 Albert <llabret at gmail.com>:
> Attached is a diff of a modified button.c, which disables the shoulder
> buttons (plus a few) when the lid is closed.

The shoulder buttons might be useful with the lid closed?

> While it seems to work fine, I'm pretty sure it isn't implemented
> correctly. So, if anyone can let me know the correct way, it would be
> greatly appreciated.

I think the driver should describe what the key is.

Userspace can use the loadkeys program to decide what action the key performs.

-- 
Malcolm Parsons


More information about the dslinux-devel mailing list