![]() |
#1 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
|
nickel remote control via web browser (under KSM 8)
This might not be the most useful thing, but maybe some people are interested in playing with it. Or some parts of it may serve as an inspiration for similar projects. Currently this works out of the box only for Touch C, and Glo; maybe also on some Touch A and B. For the other devices you have to find out whether it works.
This is the idea. You see in the web browser of your pc (or what ever) an image of your Kobo reader. You click on a certain point of the image, and the reader reacts as if you touch its screen on that very position. Be aware that this package is only for test purposes. Properly, the files should go to the system partition. However, they will be installed on the user partition, so that you have easier access. You must therefore take care that you do not connect your device as an usb storage to your pc while the nickel remote control is active! Installation: extract the KoboRoot.tgz from the uploaded archive and install it as usual. How to use (with usbNet): (on the Kobo)
If you have finished playing around: (on the Kobo)
If you want to do it with wifi, first make sure that nickel will not switch on wifi the next time you start nickel. Then switch on wifi in KSM (if nickel does not know that wifi is on, it will not kill it [Edit: Since FW 4.0.7523, this does not work any longer. nickel cuts the wifi connection and freezes.]). The rest is the same as above. Of course you have to insert your wifi-ip, instead of the usbnet-ip, e.g. http://10.0.0.3:8085/rmcnickel.html. You can see your wifi-ip by selecting:
If you want to try this on another model: Follow the instructions from above. See whether the device reacts at all when you click the image. Try different locations and watch the screen (of the Kobo). If there is no reaction at all, give it up for the moment. If there is some reaction, but the location is wrong (for instance, you click the image somewhere in the top left corner, but the device reacts as if you touched the top right corner), you can try something: The image in the browser is treated as if the origin of the coordinates (x=0, y=0) were in the left top corner. On the Touch C (and of the Glo), however, the origin (x=0, y=0) of the screen coordinates is in the right top corner, therefore the x and y values have to be mapped accordingly. The script does this already. As for the other devices, I do not know where the origin is located. You have to find it out yourself. If you have a guess you can try it by giving the origin as an argument to the url, e.g., http://192.168.2.101:8085/rmcnickel.html?origin=TL. Possible values for origin are: TR, TL, BR, BL. They stand for "top right," "top left," "bottom right," "bottom left." If this results in success, please post the value in this thread together with the values for xmax and ymax (which you can find on the page in the web browser). Now back to Touch C, and Glo. You can use the remote control also for KSM. However, there the image is rotated to the left (see x_rmc_ksm_01.png), and you have to set another origin (http://192.168.2.101:8085/rmcnickel.html?origin=TL). It works also for PbChess/CoolReader. It does not work (or does not properly work) for Koreader. Last edited by tshering; 10-01-2016 at 04:19 PM. |
![]() |
![]() |
![]() |
#2 |
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
|
And if you see black bars on the (top or bottom of) screenshots, PM me with one of said screenshots and the name of your Kobo model, so I can fix fbgrab
![]() I expect to see something like that on the Aura, for instance. |
![]() |
![]() |
Advert | |
|
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Aura H2O Problem with KSM and/or Koreader -> Nickel full freeze | johnnyb | Kobo Developer's Corner | 8 | 04-15-2015 02:18 AM |
Bluetooth remote control | mxadler | Marvin | 8 | 11-13-2014 07:53 AM |
Kindle Web Remote Control | chigozie | Kindle Developer's Corner | 17 | 09-04-2013 01:27 PM |
remote control? | shawn | Sony Reader | 2 | 10-10-2007 12:02 PM |
Remote Control | ecm | Which one should I buy? | 5 | 03-20-2007 12:08 AM |