Congratulations to Cicadaman & co. for getting Froyo running on the Nook Color! Visit the nook Color portal!
See Rooting new hardware FIRST if you have a nook original with a 1003* serial# or above.

Button mappings

From nookDevs

Jump to: navigation, search

General Info (Buttons)

Button mappings for the nook are stored in the /system/usr/keylayout directory.

s3c-button.kl contains the key mappings for the hardware buttons.

Swapping the values for key 525 and 524 in this file will invert your left buttons so that the top left button goes forward to the next page and the bottom left button goes backward to the previous page. Note that by default, LEFT_NEXTPAGE is mapped to key 524 and LEFT_PREVPAGE is mapped to key 525. This has been changed in my example configuration below:

key 26    VOLUME_UP
key 34    VOLUME_DOWN
key 102   HOME              WAKE
key 58    MENU              WAKE_DROPPED
key 42    ENDCALL           WAKE_DROPPED
key 50    BACK              WAKE_DROPPED
key 105   DPAD_LEFT         WAKE_DROPPED
key 106   DPAD_RIGHT        WAKE_DROPPED
key 25    DPAD_UP           WAKE_DROPPED
key 41    DPAD_DOWN         WAKE_DROPPED
key 33    DPAD_CENTER       WAKE_DROPPED
key 116   ENDCALL                       WAKE 
key 525   LEFT_NEXTPAGE   
key 524   LEFT_PREVPAGE
key 526   RIGHT_NEXTPAGE
key 527   RIGHT_PREVPAGE
key 143   WAKEUP                        WAKE

How To Remap

  1. Make sure your nook is connected to WiFi and find out its IP-address. Then run following commands:
    adb connect :5555
    adb pull /system/usr/keylayout/s3c-button.kl s3c-button.kl
  2. Open s3c-button.kl with notepad and changes the buttons as needed. Then upload modified file to nook by running:
    adb push s3c-button.kl /system/usr/keylayout/s3c-button.kl
  3. Restart your nook so the settings will take hold.

General Info (Touchscreen Gestures)

synaptics-rmi-touchscreen.kl contains the keymappings for swipe gestures recognized by the Synaptics touchpad driver.

Perhaps other gestures are recognized by this driver and could be programmed here. The default contents are below:

key 102   HOME              WAKE
key 528   LEFT_SWIPE   
key 529   RIGHT_SWIPE
Personal tools
  • Log in / create account
Navigation
nookDevs Team
miscellaneous