On Sun, Dec 10, 2006 at 12:47:27AM +0000, Richard Hughes wrote: > Something like XF86XK_PowerOff would be great as this is the same key as > some USB keyboards generate, and also what the ACPI layer will also be > sending in the future for power button events.
The ACPI layer doesn't send X keycodes. The power key ought to generate linux keycode 116 (KEY_POWER) - how that's mapped to an X keysym will depend on the X keymap. If it's generating something other than 116, then that's probably something that needs fixing... (Note that X and Linux keycode are entirely different, and the mapping between them is massively non-trivial) -- Matthew Garrett | [EMAIL PROTECTED] _______________________________________________ Devel mailing list [email protected] http://mailman.laptop.org/mailman/listinfo/devel
