View Single Post
Old 01-20-2025, 05:18 AM   #21
Renate
Onyx-maniac
Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.
 
Posts: 4,005
Karma: 18026955
Join Date: Feb 2012
Device: Nook NST, Glow2, 3, 4, '21, Kobo Aura2, Poke3, Poke5, Go6
For Bluetooth devices it is in framework-res.apk > res/raw/bt_keypad.json
Code:
{
  "keypad": [
    {
      "keyCodeString": "KEYCODE_F1",
      "shortPressAction": "KEYCODE_MENU"
    },
    {
      "keyCodeString": "KEYCODE_F2",
      "shortPressAction": "KEYCODE_BACK"
    },
    {
      "keyCodeString": "KEYCODE_F3",
      "shortPressAction": "SHOW_DISPLAY_CONTROL_AND_INCREASE_CONTRAST"
    },
    {
      "keyCodeString": "KEYCODE_F4",
      "shortPressAction": "REFRESH_SCREEN"
    },
    {
      "keyCodeString": "KEYCODE_F5",
      "shortPressAction": "SCREENSHOTS"
    },
    {
      "keyCodeString": "KEYCODE_F6",
      "shortPressAction": "TOGGLE_CTM_BRIGHTNESS"
    },
    {
      "keyCodeString": "KEYCODE_F8",
      "shortPressAction": "HOME"
    },
    {
      "keyCodeString": "KEYCODE_F9",
      "shortPressAction": "SHOW_DISPLAY_CONTROL_DIALOG"
    },
    {
      "keyCodeString": "KEYCODE_F10",
      "shortPressAction": "SHOW_REFRESH_MODE_DIALOG"
    },
    {
      "keyCodeString": "KEYCODE_F12",
      "shortPressAction": "OPEN_FRONT_LIGHT_DIALOG"
    }
  ]
}
Renate is online now   Reply With Quote