Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > KOReader

Notices

Reply
 
Thread Tools Search this Thread
Old 11-17-2025, 02:47 PM   #16
OG-Booksmith
Member
OG-Booksmith has a certain pleonastic somethingOG-Booksmith has a certain pleonastic somethingOG-Booksmith has a certain pleonastic somethingOG-Booksmith has a certain pleonastic somethingOG-Booksmith has a certain pleonastic somethingOG-Booksmith has a certain pleonastic somethingOG-Booksmith has a certain pleonastic somethingOG-Booksmith has a certain pleonastic somethingOG-Booksmith has a certain pleonastic somethingOG-Booksmith has a certain pleonastic somethingOG-Booksmith has a certain pleonastic something
 
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
OG-Booksmith is offline   Reply With Quote
Old 12-06-2025, 12:34 PM   #17
potatoball
Junior Member
potatoball began at the beginning.
 
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.
potatoball is offline   Reply With Quote
Advert
Old 12-10-2025, 09:28 PM   #18
ciatriad
Junior Member
ciatriad began at the beginning.
 
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,
ciatriad is offline   Reply With Quote
Old 12-22-2025, 12:47 AM   #19
thegameksk
Enthusiast
thegameksk began at the beginning.
 
Posts: 38
Karma: 10
Join Date: Jul 2020
Device: Moon+
Quote:
Originally Posted by sooeee View Post
Thank you so much for posting these detailed instructions!




I can't seem to get past this stage because the moment I enter KOReader, the bluetooth turns off and the controller disconnects

Would you happen to know if it's something I am doing wrong?
Did you find a fix for this? Im having the same issue
thegameksk is offline   Reply With Quote
Old 01-31-2026, 07:04 PM   #20
daBigR--
Junior Member
daBigR-- began at the beginning.
 
Posts: 7
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.
daBigR-- is offline   Reply With Quote
Advert
Old 01-31-2026, 07:10 PM   #21
daBigR--
Junior Member
daBigR-- began at the beginning.
 
Posts: 7
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
daBigR-- is offline   Reply With Quote
Old 03-28-2026, 01:00 PM   #22
Fun4st
Junior Member
Fun4st began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Mar 2026
Device: Kobo Clara bw
Is there any way to add a Bluetooth remote within koreader? So that if I was my device I do have to exit koreader, connect the remote, and then reopen koreader
Fun4st is offline   Reply With Quote
Old 04-26-2026, 03:10 AM   #23
pumpkinwhite
Member
pumpkinwhite doesn't litterpumpkinwhite doesn't litter
 
Posts: 22
Karma: 174
Join Date: Jul 2023
Device: Kindle Scribe
Quote:
Originally Posted by daBigR-- View Post
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
That you for that tip. I happened to update KOReader and the remote stopped working. Luckily your comment was there in this thread itself. I've updated the original instructions to add this as a step, and given you credit for it.

I also added another optional step after that, which reboots the device the when exiting KOReader if bluetooth is ON (instead of simply exiting KOReader which triggers the bug that removes Nickelmenu). Adding that step prevents Nickelmenu from getting removed due to the bug.
pumpkinwhite is offline   Reply With Quote
Old 04-26-2026, 04:11 AM   #24
pumpkinwhite
Member
pumpkinwhite doesn't litterpumpkinwhite doesn't litter
 
Posts: 22
Karma: 174
Join Date: Jul 2023
Device: Kindle Scribe
Quote:
Originally Posted by ciatriad View Post
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,
The instructions that say you should look for "Self.event_map" are for the input.lua file. You are trying to find them in the device.lua file.

I don't have the original Kobo remote, but I think the instructions should work for any bluetooth device. Maybe the latest KOReader update that turns off bluetooth on launch is impacting. I've updated the instructions with the first step being not letting KOReader turn off bluetooth. Maybe try again with that. Also, be very sure you have identified the correct 'event#' for your remote when it is connected.
pumpkinwhite is offline   Reply With Quote
Old 05-19-2026, 07:40 PM   #25
banjax
Junior Member
banjax began at the beginning.
 
Posts: 1
Karma: 10
Join Date: May 2026
Location: flyover country
Device: Kobo Clara Color/XTEInk X4/Amazon Kindle 11gen
Quote:
Originally Posted by OG-Booksmith View Post
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
Holy wow. You made my day. Worked on the first try and now this Stouchi "Designed for Kobo" ring that warns in the manual "don't use with koreader it might crash your device" works just fine. All except the home button anyway. Seems I can't remap that. Yet

Anyway, thank you!
banjax is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Bluetooth Page Turner plugin for Kobo KOReader lumping-sugar66 KOReader 99 04-12-2026 05:44 PM
Mediatek Kobo bluetooth control enthdegree Kobo Developer's Corner 2 11-17-2025 12:45 PM
Bluetooth remote control mxadler Marvin 8 11-13-2014 07:53 AM
How to Set-Up Pseudo-Parental Control on Kobo Devices? pokee Kobo Reader 3 04-18-2013 06:47 PM
602 bluetooth function as remote control for lego NXT brick dagplaytune PocketBook 3 03-08-2011 10:27 AM


All times are GMT -4. The time now is 10:31 AM.


MobileRead.com is a privately owned, operated and funded community.