![]() |
#391 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,481
Karma: 9010563
Join Date: Jul 2013
Device: none
|
Quote:
Funny you should bring this video up, the one I recorded after Randy's request if very much consistent! Actually, the flashing and pulsating I see - even huge areas on the screen (not recorded, the right half of the inner firefox space in the "pytorch" page before I enlarged it: a huge rectangle with a sort of static noise effect) - is also on static situations. (EDIT →) Although I could not make it evident it in the video I am about to upload. Last edited by mdp; 03-05-2018 at 06:09 AM. |
|
![]() |
![]() |
![]() |
#392 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,481
Karma: 9010563
Join Date: Jul 2013
Device: none
|
So here is a video demonstration of the patched Monitor software in a (simulated) real world session ("coding & computing" area).
https://youtu.be/idjhuxzjD5Q The published description: Quote:
Last edited by mdp; 03-06-2018 at 12:22 PM. |
|
![]() |
![]() |
![]() |
#393 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,138
Karma: 1577094
Join Date: Oct 2008
Device: Samsung EB60, Onyx M92, Onyx Max2
|
![]() I like it. |
![]() |
![]() |
![]() |
#394 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 209
Karma: 83543
Join Date: Jan 2018
Device: none
|
|
![]() |
![]() |
![]() |
#395 | |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 209
Karma: 83543
Join Date: Jan 2018
Device: none
|
Quote:
https://seap.samsung.com/solution-br...77c1b85f62328c https://electronics.stackexchange.com/a/85725 Related links: https://electronics.stackexchange.co...usly-through-a https://forum.xda-developers.com/sho....php?t=2303902 On a related note, I've been connecting the Max 2 via an external power source -- I guess you've been finding that a connection to a PC's USB port has provided sufficient power. Is that correct? |
|
![]() |
![]() |
![]() |
#396 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,481
Karma: 9010563
Join Date: Jul 2013
Device: none
|
Quote:
Probably more like: https://stackoverflow.com/questions/...er-and-capture Powering the tablet is not a problem, you can do it through the same PC providing the desktop. (And with "Normal" EPD mode, and if you do not have those glitches that update part of the screen every heartbit, you may not even need to power it during operation: the device would discharge much slower.) |
|
![]() |
![]() |
![]() |
#397 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,481
Karma: 9010563
Join Date: Jul 2013
Device: none
|
Quote:
EDIT: maybe even and "inverse ADB" (tablet to computer) would be fine... EDIT2: because normally, the tablet should be recognized as a HID - Human Interface Device - by the personal computer - exactly like a keyboard or mouse, this time providing clicks and coordinates (so like a touchpad). BUT, this is a work for Onyx, we cannot do that here... Last edited by mdp; 03-07-2018 at 05:17 AM. |
|
![]() |
![]() |
![]() |
#398 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,481
Karma: 9010563
Join Date: Jul 2013
Device: none
|
The funny thing is that it can already be done, but it's a hack...
In that modified APK I published, I forgot to remove one line where I log the taps. It is sufficient (but not a full or clean job) to retrieve those lines through a `logcat` stream in some software on the desktop and act accordingly... I would prefer to send packets to the adb server on the computer. It is not clear to me at the moment how to do it without any hassle to the user: the adb server creates a network on the localhost, I am not user how to access it from the Android device: tcp 0 0 127.0.0.1:59294 127.0.0.1:5037 ESTABLISHED 4716/adb Last edited by mdp; 03-07-2018 at 06:05 AM. |
![]() |
![]() |
![]() |
#399 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 209
Karma: 83543
Join Date: Jan 2018
Device: none
|
At least on *NIX, perhaps some of the following pieces might help complete the hack:
https://gist.github.com/scottgwald/6862517 http://www.semicomplete.com/projects/xdotool https://github.com/rshk/python-libxdo https://stackoverflow.com/questions/...-module-script Possibly better alternative to xdotool: http://tjjr.fi/sw/python-uinput/ Last edited by sogaiu; 03-07-2018 at 07:26 AM. |
![]() |
![]() |
![]() |
#400 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,481
Karma: 9010563
Join Date: Jul 2013
Device: none
|
Quote:
with this, and adb, creating a software to make the Onyx HDMI Monitor work like an input device is as easy as a script (although it remains a hack ![]() (Can't give you karma, because of phpbb policy - cannot thank you twice in a row.) |
|
![]() |
![]() |
![]() |
#401 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 209
Karma: 83543
Join Date: Jan 2018
Device: none
|
I used the following to get the pointer location to change:
https://gist.github.com/scottgwald/6862517 https://github.com/PyUserInput/PyUserInput Granted, this is only for the bottom-right-most corner area...something is not quite right with the coordinates though. Indentation doesn't appear to be maintained, so I'm editing the script out and I'll try to attach it instead. Last edited by sogaiu; 03-07-2018 at 08:24 AM. |
![]() |
![]() |
![]() |
#402 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 209
Karma: 83543
Join Date: Jan 2018
Device: none
|
Nothing to see here, please move along
![]() Last edited by sogaiu; 03-07-2018 at 08:23 AM. |
![]() |
![]() |
![]() |
#403 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 209
Karma: 83543
Join Date: Jan 2018
Device: none
|
Second time's the charm...
It should work with python2. I start it here w/: python2 onyx-monitor-move-pointer-hack.py |
![]() |
![]() |
![]() |
#404 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,481
Karma: 9010563
Join Date: Jul 2013
Device: none
|
But you can use the shell directly:
` adb logcat MyApp:W *:S ` and ` xdotool mousemove 123 456 ; xdotool click 1 ` I will do a working (supposedly ![]() Also because I should modify again the Monitor software, to output more clever logs and also detect tap-down (not just tap-up). EDIT: you have already done it? |
![]() |
![]() |
![]() |
#405 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 209
Karma: 83543
Join Date: Jan 2018
Device: none
|
The reason to try a non-xdotool route is simply that each invocation of xdotool is another process being run. May be this is just premature optimization
![]() I didn't do the clicking part, but that's pretty easy to add. |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Onyx boox i62 or Onyx boox 92M for PDF reading? | tidyboyd | Which one should I buy? | 16 | 04-02-2013 04:19 PM |
ONYX BOOX 1.5.1 A60/X60/X60S(onyx-international.com) | samerghafik | Onyx Boox | 4 | 01-03-2011 01:32 AM |
Ended Onyx Boox 60 - NEW | pashlit | Flea Market | 2 | 08-18-2010 04:27 PM |
Ended Onyx Boox 60 | puglover333 | Flea Market | 0 | 05-19-2010 10:05 AM |
Onyx Boox 60 S | Thomasss | News | 40 | 03-03-2010 03:03 PM |