View Single Post
Old 10-27-2021, 01:53 PM   #27
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,022
Karma: 18026955
Join Date: Feb 2012
Device: Nook NST, Glow2, 3, 4, '21, Kobo Aura2, Poke3, Poke5, Go6
Quote:
Originally Posted by arooni View Post
Love my new boox remote...
...but still no repeat setting
Uh-oh, I see what they've done.
A long press (from any source) of PgDn gives you full page refresh!
A long press of PgUp gives you "Menu"!
Mmm, I don't like that.
It also means that your button press works on the release, a bit of a delay.
This is at the system level, before an app gets a chance to see anything.

Edit: Well, that was quick but I still have to try it.
All the goofy code is in /system/framework/framework.jar in android.onyx.util.PhoneWindowHelper
It loads JSON presets in /system/framework/framework-res.apk in res/raw/keypad.json (also bt_keypad.json).
Code:
    {
      "keySet": [
        "KEYCODE_PAGE_DOWN"
      ],
      "shortPressAction": "switchByConf",
      "longPressAction": "fullRefreshScreen",
      "repeat": false
    },

Last edited by Renate; 10-27-2021 at 02:35 PM.
Renate is offline   Reply With Quote