I got this two-key Bluetooth page turner for my PocketBook Verse Pro Color
It paired fine, but Settings > Bluetooth buttons said “To add a button, pair a compatible Bluetooth device”.
Why: that screen only accepts remotes that announce themselves as a keyboard. Many cheap page turners announce themselves as a “generic HID” device instead, even though they send normal keyboard keys. The good news is that the check only guards the “Add button” screen. Buttons that are already in the reader’s settings file work fine.
The fix: add the buttons to the settings file yourself.
- Pair the remote in Settings → Bluetooth, as usual.
- Connect the reader to your computer by USB.
- Use this python script. It backs up your settings, adds the 10 keys page turners usually send, and recalculates the checksum at the end of the file (without the right checksum the reader would reset your settings).
import sys, shutil, zlib
path = sys.argv[1] # .../system/config/global.cfg on your PocketBook
shutil.copy(path, path + ".mybackup")
text = open(path, "rb").read().decode("utf-8")
body = text[:text.rfind("\n#")] # everything before the checksum line
lines = [l for l in body.split("\n") if l and not l.startswith(("btkeys.", "gkey.bt", "tkey.bt", "pkey.bt"))]
keys = [("Up", 103, "prev"), ("Down", 108, "next"), ("PgUp", 104, "prev"), ("PgDn", 109, "next"),
("Left", 105, "prev"), ("Right", 106, "next"), ("Vol+", 115, "prev"), ("Vol-", 114, "next"),
("Prev track", 165, "prev"), ("Next track", 163, "next")]
lines.append("btkeys.count=%d" % len(keys))
for i, (name, code, action) in enumerate(keys, 1):
lines += ["btkeys.bt%d.name=Remote %s" % (i, name), "btkeys.bt%d.scanCode=%d" % (i, code)]
for prefix in ("gkey", "tkey", "pkey"): # outside books, EPUB, PDF
for press in range(3): # click, hold, double click
act = "@KA_" + action if prefix != "gkey" and press == 0 else "@KA_none"
lines.append("%s.bt%d.%d=%s" % (prefix, i, press, act))
body = "\n".join(lines) + "\n"
crc = zlib.crc32(body.encode("utf-8")) & 0xFFFFFFFF
open(path, "wb").write((body + "\n#%08x\n" % crc).encode("utf-8"))
print("Done. Backup saved as global.cfg.mybackup")
You have to run it with the reader’s settings file ("/Volumes/<your reader>/system/config/global.cfg" on Mac or E:\system\config\global.cfg on Windows an then eject the reader, unplug it and open a book. The remote turns pages.
All 10 buttons now show up in Settings > Bluetooth buttons
If your remote has modes, every mode becomes separate buttons. Mine has 2 keys and 4 modes, so it’s 8 buttons.