![]() |
#1 |
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Feb 2016
Device: KV
|
Simulating input on KV via SSH
After implementing the awesome workarounds to get a jailbreak working on a 5.6.5 KV (thanks to everyone who made that possible!) I have been tinkering around with trying to get a remote page turn functionality to work which has been done in a few other cases
see http://www.mobileread.mobi/forums/sh...=118480&page=4 https://www.mobileread.com/forums/arc.../t-215558.html etc. All of these work by using a script or nc etc to call something along the lines of echo "send 191" > /proc/keypad Since the KV lacks the keyboard seen on a K3 or other models, would it be possible to pipe a command to the /proc/touch with coordinates to simulate a finger press to advance or step back a page? I searched and wasn't able to find anything like this being done for at KT2. Any thoughts? |
![]() |
![]() |
![]() |
#2 |
Going Viral
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Yes.
or send something to the appropriate (whatever that is) event chain. Sounds like you get to develop it. I think there are a few posts around here (somewhere) about simulating events on the touch devices - I can't think of any hints to give too make them easier to find though. |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
BLAM!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,506
Karma: 26047202
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
I think there's still a 'dumb' procfs entry somewhere that accepts plaintext input, but you'd have to dig a bit to find some examples (in the debug scripts and/or diags scripts, most likely).
That, or there's a test command or lua script somewhere that does the job? |
![]() |
![]() |
![]() |
#4 |
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Feb 2016
Device: KV
|
Time to research
Thanks for the reply, I'll post back when I find a decent solution!
|
![]() |
![]() |
![]() |
#5 |
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13
Karma: 29938
Join Date: Feb 2014
Device: pw2
|
xdotool might do the trick. Search for xdotool on the forum, copy over the libraries and the file. You might have to link the libraries using:
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/location/of/libraries then run the following in the command line: path/to/xdotool mousemove X Y click 1 where X and Y are coords - so 400, 400 to go page forward on pw2. ...but this doesn't work with koreader only native Kindle |
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Going Viral
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
In case you didn't notice -
The post you are answering is dated: Feb. 2016 and it is now Feb. 2017 |
![]() |
![]() |
![]() |
Tags |
simulate input, xdotool |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Conversion Input] Microsoft Doc Input Plugin | igi | Plugins | 77 | 03-08-2025 04:04 AM |
REQ: input on Database Structure and testing a workaround input | jecilop | Library Management | 15 | 12-17-2015 12:10 AM |
M92: password and users (eg. ssh/ssh-server) | lepau | Onyx Boox | 1 | 11-15-2013 11:46 AM |
DIY Kindle voice control (simulating key presses) | Acorn | Kindle Developer's Corner | 35 | 10-07-2012 01:36 PM |
Simulating Button Presses Externally | inuxy | Kindle Developer's Corner | 58 | 08-28-2012 01:55 PM |