Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Kobo Reader

Notices

Reply
 
Thread Tools Search this Thread
Old 03-02-2023, 02:56 AM   #76
kobol2
Junior Member
kobol2 began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Feb 2023
Device: Kobo Libra 2
I think BT devices emulating a mouse, keyboard will have eventX.
But if it emulates multimedia keys, then it won't have eventX
kobol2 is offline   Reply With Quote
Old 05-29-2023, 07:01 PM   #77
KissMeKiwi
Junior Member
KissMeKiwi began at the beginning.
 
Posts: 9
Karma: 10
Join Date: May 2023
Device: Kobo Clara 2E
I am using a random bluetooth adapter i found on amazon. I got evtest running on my raspberry pi to check values, but I am unable to get this work.

I just am confused a little bit because when pressing one button, I get a ton of info from evtest.

For example, this is everything I got from pressing the right button:

Quote:
Event: time 1685400399.224799, type 2 (EV_REL), code 0 (REL_X), value 2047
Event: time 1685400399.224799, type 2 (EV_REL), code 1 (REL_Y), value -2047
Event: time 1685400399.224799, -------------- SYN_REPORT ------------
Event: time 1685400399.254743, type 2 (EV_REL), code 0 (REL_X), value -40
Event: time 1685400399.254743, type 2 (EV_REL), code 1 (REL_Y), value 80
Event: time 1685400399.254743, -------------- SYN_REPORT ------------
Event: time 1685400399.284739, type 4 (EV_MSC), code 4 (MSC_SCAN), value 90001
Event: time 1685400399.284739, type 1 (EV_KEY), code 272 (BTN_LEFT), value 1
Event: time 1685400399.284739, -------------- SYN_REPORT ------------
Event: time 1685400399.314727, type 2 (EV_REL), code 0 (REL_X), value -40
Event: time 1685400399.314727, -------------- SYN_REPORT ------------
Event: time 1685400399.344737, type 2 (EV_REL), code 0 (REL_X), value -40
Event: time 1685400399.344737, -------------- SYN_REPORT ------------
Event: time 1685400399.374727, type 4 (EV_MSC), code 4 (MSC_SCAN), value 90001
Event: time 1685400399.374727, type 1 (EV_KEY), code 272 (BTN_LEFT), value 0
Event: time 1685400399.374727, -------------- SYN_REPORT ------------
Event: time 1685400399.404742, type 4 (EV_MSC), code 4 (MSC_SCAN), value d0042
Event: time 1685400399.404742, type 1 (EV_KEY), code 330 (BTN_TOUCH), value 1
Event: time 1685400399.404742, type 1 (EV_KEY), code 320 (BTN_TOOL_PEN), value 1
Event: time 1685400399.404742, type 3 (EV_ABS), code 0 (ABS_X), value 3328
Event: time 1685400399.404742, -------------- SYN_REPORT ------------
Event: time 1685400399.434724, type 3 (EV_ABS), code 0 (ABS_X), value 3400
Event: time 1685400399.434724, -------------- SYN_REPORT ------------
Event: time 1685400399.464726, type 3 (EV_ABS), code 0 (ABS_X), value 3100
Event: time 1685400399.464726, -------------- SYN_REPORT ------------
Event: time 1685400399.494727, type 3 (EV_ABS), code 0 (ABS_X), value 2800
Event: time 1685400399.494727, -------------- SYN_REPORT ------------
Event: time 1685400399.524717, type 3 (EV_ABS), code 0 (ABS_X), value 2500
Event: time 1685400399.524717, -------------- SYN_REPORT ------------
Event: time 1685400399.554728, type 3 (EV_ABS), code 0 (ABS_X), value 2200
Event: time 1685400399.554728, -------------- SYN_REPORT ------------
Event: time 1685400399.584746, type 3 (EV_ABS), code 0 (ABS_X), value 1900
Event: time 1685400399.584746, -------------- SYN_REPORT ------------
Event: time 1685400399.614727, type 3 (EV_ABS), code 0 (ABS_X), value 1600
Event: time 1685400399.614727, -------------- SYN_REPORT ------------
Event: time 1685400399.644738, type 3 (EV_ABS), code 0 (ABS_X), value 1300
Event: time 1685400399.644738, -------------- SYN_REPORT ------------
Event: time 1685400399.674729, type 3 (EV_ABS), code 0 (ABS_X), value 1000
Event: time 1685400399.674729, -------------- SYN_REPORT ------------
Event: time 1685400399.704723, type 4 (EV_MSC), code 4 (MSC_SCAN), value d0042
Event: time 1685400399.704723, type 1 (EV_KEY), code 330 (BTN_TOUCH), value 0
Event: time 1685400399.704723, type 1 (EV_KEY), code 320 (BTN_TOOL_PEN), value 0
Event: time 1685400399.704723, -------------- SYN_REPORT ------------
Event: time 1685400399.704739, type 3 (EV_ABS), code 0 (ABS_X), value 700
Event: time 1685400399.704739, -------------- SYN_REPORT ------------
Which should I use?
KissMeKiwi is offline   Reply With Quote
Old 05-30-2023, 01:32 PM   #78
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 13,506
Karma: 26047190
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
EV_KEY:BTN_LEFT seems like the best bet, but that thing's a mess.

(Unless there's supposed to be a gyro or a stick or something in there?).
NiLuJe is offline   Reply With Quote
Old 05-30-2023, 09:28 PM   #79
KissMeKiwi
Junior Member
KissMeKiwi began at the beginning.
 
Posts: 9
Karma: 10
Join Date: May 2023
Device: Kobo Clara 2E
Quote:
Originally Posted by NiLuJe View Post
EV_KEY:BTN_LEFT seems like the best bet, but that thing's a mess.

(Unless there's supposed to be a gyro or a stick or something in there?).
Okay wanted to make sure I wasn't crazy! Will try to buy a better one.



this is what is was. Hopefully better luck with the next one. Should evtest be usually 1 input to 1 line?
KissMeKiwi is offline   Reply With Quote
Old 05-31-2023, 11:38 AM   #80
Jaunx
Junior Member
Jaunx began at the beginning.
 
Posts: 1
Karma: 10
Join Date: May 2023
Device: Kobo Libra 2
Some bluetooth devices require installation of a kernel module:

https://www.mobileread.com/forums/sh...d.php?t=352280
Jaunx is offline   Reply With Quote
Old 05-31-2023, 02:09 PM   #81
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 13,506
Karma: 26047190
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
Quote:
Originally Posted by KissMeKiwi View Post
Should evtest be usually 1 input to 1 line?
For a key/button? nearly. Basically a press and a release.

e.g., a keyboard:

Code:
Event: time 1685556515.095613, type 4 (EV_MSC), code 4 (MSC_SCAN), value 70029
Event: time 1685556515.095613, type 1 (EV_KEY), code 1 (KEY_ESC), value 1
Event: time 1685556515.095613, -------------- SYN_REPORT ------------
Event: time 1685556515.214620, type 4 (EV_MSC), code 4 (MSC_SCAN), value 70029
Event: time 1685556515.214620, type 1 (EV_KEY), code 1 (KEY_ESC), value 0
Event: time 1685556515.214620, -------------- SYN_REPORT ------------
NiLuJe is offline   Reply With Quote
Old 06-09-2023, 06:17 PM   #82
Lola5711
Junior Member
Lola5711 began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Jun 2023
Device: Kobo clara 2e
help please

Quote:
Originally Posted by tsowell View Post
Hi everyone,

I've written a little plugin (using the wonderful NickelHook) for Kobo eReaders that allows the use of arbitrary Bluetooth devices for turning pages. I've been using it with a Kobo Libra 2 and an 8BitDo Zero 2 controller, but I think it should work with other Bluetooth-capable Kobo eReaders, and you can configure which Bluetooth input events trigger page turning.

Device configuration is unfortunately quite manual. You need to find the Linux input events you want to use as triggers and put them in a configuration file, but that at least only needs to be done once per device.

The code is here: https://github.com/tsowell/kobo-btpt

Installation and usage instructions are in the README, and you can grab a pre-built KoboRoot.tgz from the releases page: https://github.com/tsowell/kobo-btpt/releases

If anyone gets a chance to try it out, let me know how it goes. PRs are also welcome.

--
Tom
Im itrying to follow your guide. But to be honnest im totally new in how this works. Can you or someone else tell the read.me more detailed? I'm stuck at the part "Add
configuration files for your Bluetooth devices there" i dont know which files these are and where to find them.
Lola5711 is offline   Reply With Quote
Old 06-11-2023, 10:39 AM   #83
Mnementh
Groupie
Mnementh ought to be getting tired of karma fortunes by now.Mnementh ought to be getting tired of karma fortunes by now.Mnementh ought to be getting tired of karma fortunes by now.Mnementh ought to be getting tired of karma fortunes by now.Mnementh ought to be getting tired of karma fortunes by now.Mnementh ought to be getting tired of karma fortunes by now.Mnementh ought to be getting tired of karma fortunes by now.Mnementh ought to be getting tired of karma fortunes by now.Mnementh ought to be getting tired of karma fortunes by now.Mnementh ought to be getting tired of karma fortunes by now.Mnementh ought to be getting tired of karma fortunes by now.
 
Mnementh's Avatar
 
Posts: 185
Karma: 3633418
Join Date: Mar 2009
Location: UK
Device: Kobo Libra
Quote:
Originally Posted by Lola5711 View Post
Im itrying to follow your guide. But to be honnest im totally new in how this works. Can you or someone else tell the read.me more detailed? I'm stuck at the part "Add
configuration files for your Bluetooth devices there" i dont know which files these are and where to find them.

Device configuration is unfortunately quite manual. You need to find the Linux input events you want to use as triggers and put them in a configuration file, but that at least only needs to be done once per device.


This is the relevant section, you need to create the file yourself using the information in the original post and dotted through this thread.
Mnementh is offline   Reply With Quote
Old 06-11-2023, 01:41 PM   #84
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: 3,743
Karma: 16196313
Join Date: Feb 2012
Device: Nook NST, Glow2, 3, 4, '21, Kobo Aura2, Poke3, Poke5, Go6
I own, but don't use Kobo, and stumbled upon this thread.
I'm a big fan of BT clickers and always use one with my Onyx Poke3.

But I don't get. Can't you get this all to work with just a keylayout file?
I use both USB HID over BT Usage Pages 0x07 (keyboard) and 0x0c (consumer).
Renate is offline   Reply With Quote
Old 06-15-2023, 09:29 AM   #85
WalkingSilentz
Junior Member
WalkingSilentz began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Jun 2023
Device: Kobo Libra 2
Quote:
Originally Posted by shiplap View Post
I'm trying to get the same remote working. When I telnet into the device and try to run evtest to figure out what inputs to use, it tells me evtest is not present.

Can't find my logs either, I hit the save to file option in Nickelmenu but can't find any files on the device.

Figured I'd try all the keys I could think of that might match, but still not triggering anything:
I'm a third person trying to get this product working for this use! Works fine on the devices they officially support of course so getting it to work with my Libra 2 would simply be a bonus.

When connected to a phone, the buttons seem to emulate mouse/touches that either swipe from the top down, tap in the middle, or swipe from the bottom up. I've got access to evtest thanks to NiLuJe. Whilst the "D01" BT device is connected I don't seem to be able to get anything from it using evtest (but I get outputs if I use evtest on my Arch Linux device).

If I try 'logread -f' with the D01 ring connected it just shows a lot of "void BluetoothManager:bjectManagerInterfacesRemoved" and then the same but with "Added" instead of removed.

Any other ideas? I have the same EV_KEYS entries as Shiplap, so tried their config also. Just to confirm, I also have the config for btpt in the .btpt folder, and it's simply named "D01" (definitely a 0, not O) with no extensions on the filename.

Would be amazing to get this working! Getting cold in town and I don't want to turn pages with an exposed hand.
WalkingSilentz is offline   Reply With Quote
Old 09-16-2023, 02:42 PM   #86
jospalau
Addict
jospalau ought to be getting tired of karma fortunes by now.jospalau ought to be getting tired of karma fortunes by now.jospalau ought to be getting tired of karma fortunes by now.jospalau ought to be getting tired of karma fortunes by now.jospalau ought to be getting tired of karma fortunes by now.jospalau ought to be getting tired of karma fortunes by now.jospalau ought to be getting tired of karma fortunes by now.jospalau ought to be getting tired of karma fortunes by now.jospalau ought to be getting tired of karma fortunes by now.jospalau ought to be getting tired of karma fortunes by now.jospalau ought to be getting tired of karma fortunes by now.
 
Posts: 211
Karma: 1074916
Join Date: Jan 2021
Device: Likebook Ares
Quote:
Originally Posted by WalkingSilentz View Post
I'm a third person trying to get this product working for this use! Works fine on the devices they officially support of course so getting it to work with my Libra 2 would simply be a bonus.



When connected to a phone, the buttons seem to emulate mouse/touches that either swipe from the top down, tap in the middle, or swipe from the bottom up. I've got access to evtest thanks to NiLuJe. Whilst the "D01" BT device is connected I don't seem to be able to get anything from it using evtest (but I get outputs if I use evtest on my Arch Linux device).



If I try 'logread -f' with the D01 ring connected it just shows a lot of "void BluetoothManager:bjectManagerInterfacesRemoved" and then the same but with "Added" instead of removed.



Any other ideas? I have the same EV_KEYS entries as Shiplap, so tried their config also. Just to confirm, I also have the config for btpt in the .btpt folder, and it's simply named "D01" (definitely a 0, not O) with no extensions on the filename.



Would be amazing to get this working! Getting cold in town and I don't want to turn pages with an exposed hand.
Take a look to this:
https://github.com/Tangent128/lua-evdev

You can cross-compile the module so it can run in Kobo.

Sent from my 22081212UG using Tapatalk

Last edited by jospalau; 09-16-2023 at 02:45 PM.
jospalau is offline   Reply With Quote
Old 09-16-2023, 04:04 PM   #87
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 13,506
Karma: 26047190
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
Quote:
Originally Posted by jospalau View Post
You can cross-compile the module so it can run in Kobo.
Or you can simply use standard API calls via FFI with LuaJIT .

(I would link to KOReader, but input is one of the very earliest thing that was written, so most of it is not actually handled via FFI, but as a Lua C module).
NiLuJe is offline   Reply With Quote
Old 09-16-2023, 08:05 PM   #88
jospalau
Addict
jospalau ought to be getting tired of karma fortunes by now.jospalau ought to be getting tired of karma fortunes by now.jospalau ought to be getting tired of karma fortunes by now.jospalau ought to be getting tired of karma fortunes by now.jospalau ought to be getting tired of karma fortunes by now.jospalau ought to be getting tired of karma fortunes by now.jospalau ought to be getting tired of karma fortunes by now.jospalau ought to be getting tired of karma fortunes by now.jospalau ought to be getting tired of karma fortunes by now.jospalau ought to be getting tired of karma fortunes by now.jospalau ought to be getting tired of karma fortunes by now.
 
Posts: 211
Karma: 1074916
Join Date: Jan 2021
Device: Likebook Ares
Quote:
Originally Posted by NiLuJe View Post
Or you can simply use standard API calls via FFI with LuaJIT .



(I would link to KOReader, but input is one of the very earliest thing that was written, so most of it is not actually handled via FFI, but as a Lua C module).
That's awesome!

Sent from my 22081212UG using Tapatalk
jospalau is offline   Reply With Quote
Old 09-17-2023, 03:41 PM   #89
Henk2001
Junior Member
Henk2001 began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Sep 2023
Device: Kobo Clara 2E
Hello everyone,

Has anyone figured out the solution for finding the best event codes? I bought this bluetooth button: https://nl.aliexpress.com/item/10050...yAdapt=glo2nld it's called the JX-03. And these are the results of the evtest tool:

On connection

Select the device event number [0-21]: 21
Input driver version is 1.0.1
Input device ID: bus 0x5 vendor 0x5ac product 0x22c version 0x11b
Input device name: "JX-03"
Supported events:
Event type 0 (EV_SYN)
Event type 1 (EV_KEY)
Event code 114 (KEY_VOLUMEDOWN)
Event code 115 (KEY_VOLUMEUP)
Event code 320 (BTN_TOOL_PEN)
Event code 330 (BTN_TOUCH)
Event code 374 (KEY_KEYBOARD)
Event type 3 (EV_ABS)
Event code 0 (ABS_X)
Value 0
Min 0
Max 4095
Event code 1 (ABS_Y)
Value 0
Min 0
Max 4095
Event code 40 (ABS_MISC)
Value 0
Min 0
Max 1
Event type 4 (EV_MSC)
Event code 4 (MSC_SCAN)
Properties:
Property type 1 (INPUT_PROP_DIRECT)
Testing ... (interrupt to exit)

##Upper button:##

Event: time 1694963254.779283, type 4 (EV_MSC), code 4 (MSC_SCAN), value d0042
Event: time 1694963254.779283, type 1 (EV_KEY), code 330 (BTN_TOUCH), value 1
Event: time 1694963254.779283, type 1 (EV_KEY), code 320 (BTN_TOOL_PEN), value 1
Event: time 1694963254.779283, type 3 (EV_ABS), code 40 (ABS_MISC), value 1
Event: time 1694963254.779283, type 3 (EV_ABS), code 0 (ABS_X), value 1904
Event: time 1694963254.779283, type 3 (EV_ABS), code 1 (ABS_Y), value 1300
Event: time 1694963254.779283, -------------- SYN_REPORT ------------
Event: time 1694963254.816806, type 3 (EV_ABS), code 1 (ABS_Y), value 1400
Event: time 1694963254.816806, -------------- SYN_REPORT ------------
Event: time 1694963254.839495, type 3 (EV_ABS), code 1 (ABS_Y), value 1700
Event: time 1694963254.839495, -------------- SYN_REPORT ------------
Event: time 1694963254.876831, type 3 (EV_ABS), code 1 (ABS_Y), value 2000
Event: time 1694963254.876831, -------------- SYN_REPORT ------------
Event: time 1694963254.899267, type 3 (EV_ABS), code 1 (ABS_Y), value 2300
Event: time 1694963254.899267, -------------- SYN_REPORT ------------
Event: time 1694963254.929305, type 3 (EV_ABS), code 0 (ABS_X), value 1898
Event: time 1694963254.929305, type 3 (EV_ABS), code 1 (ABS_Y), value 2500
Event: time 1694963254.929305, -------------- SYN_REPORT ------------
Event: time 1694963254.959393, type 3 (EV_ABS), code 0 (ABS_X), value 1895
Event: time 1694963254.959393, type 3 (EV_ABS), code 1 (ABS_Y), value 2600
Event: time 1694963254.959393, -------------- SYN_REPORT ------------
Event: time 1694963254.989289, type 3 (EV_ABS), code 0 (ABS_X), value 1890
Event: time 1694963254.989289, type 3 (EV_ABS), code 1 (ABS_Y), value 2900
Event: time 1694963254.989289, -------------- SYN_REPORT ------------
Event: time 1694963255.019247, type 3 (EV_ABS), code 0 (ABS_X), value 1888
Event: time 1694963255.019247, type 3 (EV_ABS), code 1 (ABS_Y), value 3200
Event: time 1694963255.019247, -------------- SYN_REPORT ------------
Event: time 1694963255.049282, type 3 (EV_ABS), code 0 (ABS_X), value 1882
Event: time 1694963255.049282, type 3 (EV_ABS), code 1 (ABS_Y), value 3500
Event: time 1694963255.049282, -------------- SYN_REPORT ------------
Event: time 1694963255.079261, type 4 (EV_MSC), code 4 (MSC_SCAN), value d0042
Event: time 1694963255.079261, type 1 (EV_KEY), code 330 (BTN_TOUCH), value 0
Event: time 1694963255.079261, type 1 (EV_KEY), code 320 (BTN_TOOL_PEN), value 0
Event: time 1694963255.079261, type 3 (EV_ABS), code 0 (ABS_X), value 1877
Event: time 1694963255.079261, type 3 (EV_ABS), code 1 (ABS_Y), value 3800
Event: time 1694963255.079261, -------------- SYN_REPORT ------------

##Middle button:##

Event: time 1694963328.490195, type 4 (EV_MSC), code 4 (MSC_SCAN), value d0042
Event: time 1694963328.490195, type 1 (EV_KEY), code 330 (BTN_TOUCH), value 1
Event: time 1694963328.490195, type 1 (EV_KEY), code 320 (BTN_TOOL_PEN), value 1
Event: time 1694963328.490195, type 3 (EV_ABS), code 0 (ABS_X), value 1904
Event: time 1694963328.490195, type 3 (EV_ABS), code 1 (ABS_Y), value 1904
Event: time 1694963328.490195, -------------- SYN_REPORT ------------
Event: time 1694963328.512640, type 4 (EV_MSC), code 4 (MSC_SCAN), value d0042
Event: time 1694963328.512640, type 1 (EV_KEY), code 330 (BTN_TOUCH), value 0
Event: time 1694963328.512640, type 1 (EV_KEY), code 320 (BTN_TOOL_PEN), value 0
Event: time 1694963328.512640, -------------- SYN_REPORT ------------

##Lowest button##

Event: time 1694963354.492886, type 4 (EV_MSC), code 4 (MSC_SCAN), value d0042
Event: time 1694963354.492886, type 1 (EV_KEY), code 330 (BTN_TOUCH), value 1
Event: time 1694963354.492886, type 1 (EV_KEY), code 320 (BTN_TOOL_PEN), value 1
Event: time 1694963354.492886, type 3 (EV_ABS), code 1 (ABS_Y), value 2500
Event: time 1694963354.492886, -------------- SYN_REPORT ------------
Event: time 1694963354.522860, type 3 (EV_ABS), code 1 (ABS_Y), value 2400
Event: time 1694963354.522860, -------------- SYN_REPORT ------------
Event: time 1694963354.552828, type 3 (EV_ABS), code 1 (ABS_Y), value 2300
Event: time 1694963354.552828, -------------- SYN_REPORT ------------
Event: time 1694963354.582821, type 3 (EV_ABS), code 1 (ABS_Y), value 2000
Event: time 1694963354.582821, -------------- SYN_REPORT ------------
Event: time 1694963354.612829, type 3 (EV_ABS), code 1 (ABS_Y), value 1800
Event: time 1694963354.612829, -------------- SYN_REPORT ------------
Event: time 1694963354.642890, type 3 (EV_ABS), code 1 (ABS_Y), value 1700
Event: time 1694963354.642890, -------------- SYN_REPORT ------------
Event: time 1694963354.672903, type 3 (EV_ABS), code 1 (ABS_Y), value 1500
Event: time 1694963354.672903, -------------- SYN_REPORT ------------
Event: time 1694963354.702943, type 3 (EV_ABS), code 1 (ABS_Y), value 1400
Event: time 1694963354.702943, -------------- SYN_REPORT ------------
Event: time 1694963354.732888, type 3 (EV_ABS), code 1 (ABS_Y), value 1100
Event: time 1694963354.732888, -------------- SYN_REPORT ------------
Event: time 1694963354.762883, type 3 (EV_ABS), code 1 (ABS_Y), value 800
Event: time 1694963354.762883, -------------- SYN_REPORT ------------
Event: time 1694963354.792933, type 3 (EV_ABS), code 1 (ABS_Y), value 500
Event: time 1694963354.792933, -------------- SYN_REPORT ------------
Event: time 1694963354.822941, type 4 (EV_MSC), code 4 (MSC_SCAN), value d0042
Event: time 1694963354.822941, type 1 (EV_KEY), code 330 (BTN_TOUCH), value 0
Event: time 1694963354.822941, type 1 (EV_KEY), code 320 (BTN_TOOL_PEN), value 0
Event: time 1694963354.822941, type 3 (EV_ABS), code 1 (ABS_Y), value 200
Event: time 1694963354.822941, -------------- SYN_REPORT ------------

##Double click middle button:##

Event: time 1694963426.988613, type 4 (EV_MSC), code 4 (MSC_SCAN), value d0042
Event: time 1694963426.988613, type 1 (EV_KEY), code 330 (BTN_TOUCH), value 1
Event: time 1694963426.988613, type 1 (EV_KEY), code 320 (BTN_TOOL_PEN), value 1
Event: time 1694963426.988613, type 3 (EV_ABS), code 1 (ABS_Y), value 1904
Event: time 1694963426.988613, -------------- SYN_REPORT ------------
Event: time 1694963427.018593, type 4 (EV_MSC), code 4 (MSC_SCAN), value d0042
Event: time 1694963427.018593, type 1 (EV_KEY), code 330 (BTN_TOUCH), value 0
Event: time 1694963427.018593, type 1 (EV_KEY), code 320 (BTN_TOOL_PEN), value 0
Event: time 1694963427.018593, -------------- SYN_REPORT ------------
Event: time 1694963427.101061, type 4 (EV_MSC), code 4 (MSC_SCAN), value d0042
Event: time 1694963427.101061, type 1 (EV_KEY), code 330 (BTN_TOUCH), value 1
Event: time 1694963427.101061, type 1 (EV_KEY), code 320 (BTN_TOOL_PEN), value 1
Event: time 1694963427.101061, -------------- SYN_REPORT ------------
Event: time 1694963427.131005, type 4 (EV_MSC), code 4 (MSC_SCAN), value d0042
Event: time 1694963427.131005, type 1 (EV_KEY), code 330 (BTN_TOUCH), value 0
Event: time 1694963427.131005, type 1 (EV_KEY), code 320 (BTN_TOOL_PEN), value 0
Event: time 1694963427.131005, -------------- SYN_REPORT ------------


Thankyou!!!!
Henk2001 is offline   Reply With Quote
Old 09-19-2023, 03:31 AM   #90
tylpk
Enthusiast
tylpk has learned how to buy an e-book online
 
Posts: 25
Karma: 80
Join Date: Apr 2019
Device: Kindle Paperwhite3, Hisense A5, HyRead Gaze Pocket, Kobo Elipsa
Quote:
Originally Posted by Henk2001 View Post

##Upper button:##

Event: time 1694963254.779283, type 4 (EV_MSC), code 4 (MSC_SCAN), value d0042
Event: time 1694963254.779283, type 1 (EV_KEY), code 330 (BTN_TOUCH), value 1
Event: time 1694963254.779283, type 1 (EV_KEY), code 320 (BTN_TOOL_PEN), value 1
Event: time 1694963254.779283, type 3 (EV_ABS), code 40 (ABS_MISC), value 1
Event: time 1694963254.779283, type 3 (EV_ABS), code 0 (ABS_X), value 1904
Event: time 1694963254.779283, type 3 (EV_ABS), code 1 (ABS_Y), value 1300
Event: time 1694963254.779283, -------------- SYN_REPORT ------------
Event: time 1694963254.816806, type 3 (EV_ABS), code 1 (ABS_Y), value 1400
Event: time 1694963254.816806, -------------- SYN_REPORT ------------
Event: time 1694963254.839495, type 3 (EV_ABS), code 1 (ABS_Y), value 1700
Event: time 1694963254.839495, -------------- SYN_REPORT ------------
Event: time 1694963254.876831, type 3 (EV_ABS), code 1 (ABS_Y), value 2000
Event: time 1694963254.876831, -------------- SYN_REPORT ------------
Event: time 1694963254.899267, type 3 (EV_ABS), code 1 (ABS_Y), value 2300
Event: time 1694963254.899267, -------------- SYN_REPORT ------------
Event: time 1694963254.929305, type 3 (EV_ABS), code 0 (ABS_X), value 1898
Event: time 1694963254.929305, type 3 (EV_ABS), code 1 (ABS_Y), value 2500
Event: time 1694963254.929305, -------------- SYN_REPORT ------------
Event: time 1694963254.959393, type 3 (EV_ABS), code 0 (ABS_X), value 1895
Event: time 1694963254.959393, type 3 (EV_ABS), code 1 (ABS_Y), value 2600
Event: time 1694963254.959393, -------------- SYN_REPORT ------------
Event: time 1694963254.989289, type 3 (EV_ABS), code 0 (ABS_X), value 1890
Event: time 1694963254.989289, type 3 (EV_ABS), code 1 (ABS_Y), value 2900
Event: time 1694963254.989289, -------------- SYN_REPORT ------------
Event: time 1694963255.019247, type 3 (EV_ABS), code 0 (ABS_X), value 1888
Event: time 1694963255.019247, type 3 (EV_ABS), code 1 (ABS_Y), value 3200
Event: time 1694963255.019247, -------------- SYN_REPORT ------------
Event: time 1694963255.049282, type 3 (EV_ABS), code 0 (ABS_X), value 1882
Event: time 1694963255.049282, type 3 (EV_ABS), code 1 (ABS_Y), value 3500
Event: time 1694963255.049282, -------------- SYN_REPORT ------------
Event: time 1694963255.079261, type 4 (EV_MSC), code 4 (MSC_SCAN), value d0042
Event: time 1694963255.079261, type 1 (EV_KEY), code 330 (BTN_TOUCH), value 0
Event: time 1694963255.079261, type 1 (EV_KEY), code 320 (BTN_TOOL_PEN), value 0
Event: time 1694963255.079261, type 3 (EV_ABS), code 0 (ABS_X), value 1877
Event: time 1694963255.079261, type 3 (EV_ABS), code 1 (ABS_Y), value 3800
Event: time 1694963255.079261, -------------- SYN_REPORT ------------

##Middle button:##

Event: time 1694963328.490195, type 4 (EV_MSC), code 4 (MSC_SCAN), value d0042
Event: time 1694963328.490195, type 1 (EV_KEY), code 330 (BTN_TOUCH), value 1
Event: time 1694963328.490195, type 1 (EV_KEY), code 320 (BTN_TOOL_PEN), value 1
Event: time 1694963328.490195, type 3 (EV_ABS), code 0 (ABS_X), value 1904
Event: time 1694963328.490195, type 3 (EV_ABS), code 1 (ABS_Y), value 1904
Event: time 1694963328.490195, -------------- SYN_REPORT ------------
Event: time 1694963328.512640, type 4 (EV_MSC), code 4 (MSC_SCAN), value d0042
Event: time 1694963328.512640, type 1 (EV_KEY), code 330 (BTN_TOUCH), value 0
Event: time 1694963328.512640, type 1 (EV_KEY), code 320 (BTN_TOOL_PEN), value 0
Event: time 1694963328.512640, -------------- SYN_REPORT ------------

##Lowest button##

Event: time 1694963354.492886, type 4 (EV_MSC), code 4 (MSC_SCAN), value d0042
Event: time 1694963354.492886, type 1 (EV_KEY), code 330 (BTN_TOUCH), value 1
Event: time 1694963354.492886, type 1 (EV_KEY), code 320 (BTN_TOOL_PEN), value 1
Event: time 1694963354.492886, type 3 (EV_ABS), code 1 (ABS_Y), value 2500
Event: time 1694963354.492886, -------------- SYN_REPORT ------------
Event: time 1694963354.522860, type 3 (EV_ABS), code 1 (ABS_Y), value 2400
Event: time 1694963354.522860, -------------- SYN_REPORT ------------
Event: time 1694963354.552828, type 3 (EV_ABS), code 1 (ABS_Y), value 2300
Event: time 1694963354.552828, -------------- SYN_REPORT ------------
Event: time 1694963354.582821, type 3 (EV_ABS), code 1 (ABS_Y), value 2000
Event: time 1694963354.582821, -------------- SYN_REPORT ------------
Event: time 1694963354.612829, type 3 (EV_ABS), code 1 (ABS_Y), value 1800
Event: time 1694963354.612829, -------------- SYN_REPORT ------------
Event: time 1694963354.642890, type 3 (EV_ABS), code 1 (ABS_Y), value 1700
Event: time 1694963354.642890, -------------- SYN_REPORT ------------
Event: time 1694963354.672903, type 3 (EV_ABS), code 1 (ABS_Y), value 1500
Event: time 1694963354.672903, -------------- SYN_REPORT ------------
Event: time 1694963354.702943, type 3 (EV_ABS), code 1 (ABS_Y), value 1400
Event: time 1694963354.702943, -------------- SYN_REPORT ------------
Event: time 1694963354.732888, type 3 (EV_ABS), code 1 (ABS_Y), value 1100
Event: time 1694963354.732888, -------------- SYN_REPORT ------------
Event: time 1694963354.762883, type 3 (EV_ABS), code 1 (ABS_Y), value 800
Event: time 1694963354.762883, -------------- SYN_REPORT ------------
Event: time 1694963354.792933, type 3 (EV_ABS), code 1 (ABS_Y), value 500
Event: time 1694963354.792933, -------------- SYN_REPORT ------------
Event: time 1694963354.822941, type 4 (EV_MSC), code 4 (MSC_SCAN), value d0042
Event: time 1694963354.822941, type 1 (EV_KEY), code 330 (BTN_TOUCH), value 0
Event: time 1694963354.822941, type 1 (EV_KEY), code 320 (BTN_TOOL_PEN), value 0
Event: time 1694963354.822941, type 3 (EV_ABS), code 1 (ABS_Y), value 200
Event: time 1694963354.822941, -------------- SYN_REPORT ------------

##Double click middle button:##

Event: time 1694963426.988613, type 4 (EV_MSC), code 4 (MSC_SCAN), value d0042
Event: time 1694963426.988613, type 1 (EV_KEY), code 330 (BTN_TOUCH), value 1
Event: time 1694963426.988613, type 1 (EV_KEY), code 320 (BTN_TOOL_PEN), value 1
Event: time 1694963426.988613, type 3 (EV_ABS), code 1 (ABS_Y), value 1904
Event: time 1694963426.988613, -------------- SYN_REPORT ------------
Event: time 1694963427.018593, type 4 (EV_MSC), code 4 (MSC_SCAN), value d0042
Event: time 1694963427.018593, type 1 (EV_KEY), code 330 (BTN_TOUCH), value 0
Event: time 1694963427.018593, type 1 (EV_KEY), code 320 (BTN_TOOL_PEN), value 0
Event: time 1694963427.018593, -------------- SYN_REPORT ------------
Event: time 1694963427.101061, type 4 (EV_MSC), code 4 (MSC_SCAN), value d0042
Event: time 1694963427.101061, type 1 (EV_KEY), code 330 (BTN_TOUCH), value 1
Event: time 1694963427.101061, type 1 (EV_KEY), code 320 (BTN_TOOL_PEN), value 1
Event: time 1694963427.101061, -------------- SYN_REPORT ------------
Event: time 1694963427.131005, type 4 (EV_MSC), code 4 (MSC_SCAN), value d0042
Event: time 1694963427.131005, type 1 (EV_KEY), code 330 (BTN_TOUCH), value 0
Event: time 1694963427.131005, type 1 (EV_KEY), code 320 (BTN_TOOL_PEN), value 0
Event: time 1694963427.131005, -------------- SYN_REPORT ------------


Thankyou!!!!
I am not sure what evtest tool you used to test your device. The evtest of linux can know more codes than evtest of kobo device.

From your log, you could use below configuration to turn page. However, the event codes of three buttons are the same, I don't have idea how to do previousPage action.

nextPage 1 330 1
tylpk is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Accessories New hand stick Bluetooth for turning page! guitu Amazon Kindle 16 07-23-2021 12:20 AM
Kobo Clara HD - Quick page turning Rarronno Kobo Reader 7 09-06-2019 01:26 AM
Bluetooth Page Turning hismaimai8888 General Discussions 2 11-25-2018 11:37 AM
Bluetooth Page Turning copaw General Discussions 14 11-17-2015 02:09 PM
Kobo app page turning animation?? morgan freeman Android Devices 0 03-23-2013 11:15 PM


All times are GMT -4. The time now is 05:40 PM.


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