|
|
#16 |
|
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11
Karma: 18880
Join Date: Nov 2025
Device: KLC
|
I've written a plugin that should make this easier for MTK based kobo ereaders, aka Libra Colour and Clara Colour.
Have a look here: https://ogkevin.github.io/kobo.koplu...bluetooth.html It esentially allows for registering key bindings via the UI. The messages/UI needs a bit of polishing tho. But I think the concept works, and can be tested/played around with in the meanwhile if interested. This might also be of interest: https://ogkevin.github.io/kobo.koplu...bluetooth.html |
|
|
|
|
|
#17 |
|
Junior Member
![]() Posts: 3
Karma: 10
Join Date: Aug 2025
Device: Kobo Clara BW
|
Event Names?
Thank you so much for this! How did you find out the event names for the UI manager? I was thinking to add other functionalities like opening the home page / history.
|
|
|
|
| Advert | |
|
|
|
|
#18 |
|
Junior Member
![]() Posts: 1
Karma: 10
Join Date: Dec 2025
Device: Kobo Libra Colour
|
Any luck with Kobo Remote?
Hi all. Thanks in advance, and to the op, thanks for the detailed write-up. I'm on the latest kobo firmware (4.44.23552) on my libra color. For Koreader i'm on 2025.10. Has anyone been able to get the kobo remote working in koreader? I see it as event 4. It looks like ScanCode is the only button identifier when I'm scrolling up to event 4. I don't have any bluetooth plugins installed in Koreader if that matters.
Event type 4 (Misc) Event code 4 (ScanCode) When I press the buttons I see: Event: time 1765391398.834383, type 4 (Misc), code 4 (ScanCode), value 70051 Event: time 1765391398.834383 ------- Report Sync ------ x: 36808 y: 36728 p: 0 ------------ Event: time 1765391398.984333, type 4 (Misc), code 4 (ScanCode), value 70051 Event: time 1765391398.984333 ------- Report Sync ------ x: 36808 y: 36728 p: 0 ------------ Event: time 1765391401.234164, type 4 (Misc), code 4 (ScanCode), value 70052 Event: time 1765391401.234164 ------- Report Sync ------ x: 36808 y: 36728 p: 0 ------------ Event: time 1765391401.384092, type 4 (Misc), code 4 (ScanCode), value 70052 Event: time 1765391401.384092 ------- Report Sync ------ x: 36808 y: 36728 p: 0 ------------ For Step 4: [• Scroll down to the section which has the header – set up fake event map (This section has lines that look like Self.event_map[10000] = “IntoSS”)] I didn't find a section with this header or any Self.event_map in my device.lua file. The word map is found 2 times in my file: self.input = require("device/input"):new{ device = self, event_map = { [35] = "SleepCover", -- KEY_H, Elipsa [59] = "SleepCover", [90] = "LightButton", [102] = "Home", [116] = "Power", [193] = "RPgBack", [194] = "RPgFwd", [331] = "Eraser", [332] = "Highlighter", and event_map_adapter = { SleepCover = function(ev) if self.input:isEvKeyPress(ev) then return "SleepCoverClosed" elseif self.input:isEvKeyRelease(ev) then return "SleepCoverOpened" end end, |
|
|
|
|
|
#19 |
|
Enthusiast
![]() Posts: 35
Karma: 10
Join Date: Jul 2020
Device: Moon+
|
Did you find a fix for this? Im having the same issue
|
|
|
|
|
|
#20 |
|
Junior Member
![]() Posts: 4
Karma: 10
Join Date: Nov 2012
Device: kindle
|
Hi. I don't know how the others got it to work. I had this feature working some time ago and I lost my setup when I updated KOReader without pausing to think if the update would overwrite the changes or not. However when I originally set it up and still valid now, I had the same problem you are having. At that time I figured out that The KOReader start script -- koreader.sh -- kills bluetooth with "extreme prejudice" as one of the developers put it. I mean koreader.sh does everything it can to stop bluetooth before launching KOReader. You can find a comment to that effect in the code: # If bluetooth is enabled, kill it. What I did is comment both if statements following said comment and removed blualsa and bluetoothhd from the killall command a few lines below. Of course nickel will crash when exiting KOReader with bluetooth on as others have said but the reboot device workaround works fine. All other pumpkinwhite steps are correct, except that if you use the standard RPageFwd and RPageBack some of the setup is not necessary and if you do include it you may have duplicate events, e.g. forward 2 pages instead of just one.
|
|
|
|
| Advert | |
|
|
|
|
#21 |
|
Junior Member
![]() Posts: 4
Karma: 10
Join Date: Nov 2012
Device: kindle
|
In koreader.sh look for comment : # If bluetooth is enabled, kill it. Then comment both if statements following it. Also remove bluealsa and bluetoothhd from the killall a little below
|
|
|
|
![]() |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Bluetooth Page Turner plugin for Kobo KOReader | lumping-sugar66 | KOReader | 91 | 02-16-2026 02:23 PM |
| Mediatek Kobo bluetooth control | enthdegree | Kobo Developer's Corner | 2 | 11-17-2025 01:45 PM |
| Bluetooth remote control | mxadler | Marvin | 8 | 11-13-2014 08:53 AM |
| How to Set-Up Pseudo-Parental Control on Kobo Devices? | pokee | Kobo Reader | 3 | 04-18-2013 07:47 PM |
| 602 bluetooth function as remote control for lego NXT brick | dagplaytune | PocketBook | 3 | 03-08-2011 11:27 AM |