Nook Simple Touch assigning hard keys
There are four hard keys on the Nook Simple Touch. They are normally assigned to special reader application keys of forward and backward page. They may be assigned to other functions.
The configuration file is /system/usr/keylayout/TWL4030_Keypad.kl
This file contains the scancode to keycode conversion for many keys. Only four of these entries actually do anything. The mapping for the "n" button, the power button and any USB keyboards are done in separate files.
To modify this file you will have to write enable the system directory.
At the end of this file is the configuration for the four hard keys.
key 407 RIGHT_NEXTPAGE key 412 LEFT_NEXTPAGE key 139 LEFT_PREVPAGE key 158 RIGHT_PREVPAGE
TWL4030_Keybad.kl (modified for back & menu)
key 407 RIGHT_NEXTPAGE key 412 LEFT_PREVPAGE key 139 BACK key 158 MENU