Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Onyx Boox

Notices

Reply
 
Thread Tools Search this Thread
Old 03-24-2018, 05:23 AM   #451
mdp
Wizard
mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.
 
Posts: 1,481
Karma: 9010563
Join Date: Jul 2013
Device: none
About the mouse emulation through touchscreen solution:
we should probably benefit from multitouch, to emulate right button, mouse wheel etc.
Iordanov's bVNC is a good lesson about those controls (two-fingers tap = right mouse button; two-fingers swipe = mouse wheel ...)
mdp is offline   Reply With Quote
Old 03-24-2018, 07:33 AM   #452
sogaiu
Addict
sogaiu can decode base 64 without using a pencil.sogaiu can decode base 64 without using a pencil.sogaiu can decode base 64 without using a pencil.sogaiu can decode base 64 without using a pencil.sogaiu can decode base 64 without using a pencil.sogaiu can decode base 64 without using a pencil.sogaiu can decode base 64 without using a pencil.sogaiu can decode base 64 without using a pencil.sogaiu can decode base 64 without using a pencil.sogaiu can decode base 64 without using a pencil.sogaiu can decode base 64 without using a pencil.
 
Posts: 209
Karma: 83543
Join Date: Jan 2018
Device: none
I've been thinking of adapting the script to try using Android devices as tablet input devices for PCs, macs, etc. I know such things exist already, but it seemed worth trying out to see how good it could be. The idea of emulating right mouse button, wheel, etc. sounds like it would be useful for the tablet input idea too.

So are you thinking to encode multitouch info in each log line then?
sogaiu is offline   Reply With Quote
Old 03-24-2018, 09:04 AM   #453
mdp
Wizard
mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.
 
Posts: 1,481
Karma: 9010563
Join Date: Jul 2013
Device: none
Quote:
Originally Posted by sogaiu View Post
I've been thinking of adapting the script to try using Android devices as tablet input devices for PCs, macs, etc.
But how? Would the device also represent the desktop contents? If so, how to do it better than bVNC?

Quote:
Originally Posted by sogaiu View Post
So are you thinking to encode multitouch info in each log line then?
Yes, probably so. I do not want to flood the log, but probably also adding the second finger, up and down, is cheap and effective.
mdp is offline   Reply With Quote
Old 03-24-2018, 03:44 PM   #454
mdp
Wizard
mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.
 
Posts: 1,481
Karma: 9010563
Join Date: Jul 2013
Device: none
Quote:
Originally Posted by mdp View Post
we should probably benefit from multitouch, to emulate right button, mouse wheel etc.
It works... Sogaiu, we have RMB and wheel up/down (well calibrated with proportional swipes).
Two-finger-tap = Right Mouse Button
Two-finger-swipe = Mouse Wheel (the longer, the more)

I'll clean it up a bit before posting.

EDIT: and I fixed that "double function call" on corners: it was reacting at both tap-down and tap-up.

EDIT2: meanwhile, I shall post the short and simple java code added to the Onyx application (funny for me, because I just wrote this, since the actual work I do low level)... It will be useful for clarity in exchanges to Onyx.
Attached Files
File Type: txt Onyx_Monitor_Mod3_NewCode.java.txt (1.3 KB, 355 views)

Last edited by mdp; 03-24-2018 at 05:07 PM.
mdp is offline   Reply With Quote
Old 03-24-2018, 03:55 PM   #455
sogaiu
Addict
sogaiu can decode base 64 without using a pencil.sogaiu can decode base 64 without using a pencil.sogaiu can decode base 64 without using a pencil.sogaiu can decode base 64 without using a pencil.sogaiu can decode base 64 without using a pencil.sogaiu can decode base 64 without using a pencil.sogaiu can decode base 64 without using a pencil.sogaiu can decode base 64 without using a pencil.sogaiu can decode base 64 without using a pencil.sogaiu can decode base 64 without using a pencil.sogaiu can decode base 64 without using a pencil.
 
Posts: 209
Karma: 83543
Join Date: Jan 2018
Device: none
Quote:
Originally Posted by mdp View Post
But how? Would the device also represent the desktop contents? If so, how to do it better than bVNC?
The idea is just to use an Android device as a tablet for another machine (e.g. think what "tablets" artists / designers use as input devices). There is no intention to display the desktop contents. It just happens that the script seems very close to being able to do this technically so it seems worth seeing what the set up is capable of.

Quote:
Yes, probably so. I do not want to flood the log, but probably also [adding the second finger, up and down, is cheap and effective.
Sounds good.

BTW, while observing the logcat output over a number of sessions, I eventually noticed "chatty" entries:

https://stackoverflow.com/questions/...expire-message

These seem to come about some time later -- that is, my impression is that I wouldn't see them initially, but later invocations of adb logcat would show them (perhaps there is post-munging?). Are you familiar with this "chatty" phenomenon?
sogaiu is offline   Reply With Quote
Old 03-24-2018, 04:25 PM   #456
mdp
Wizard
mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.
 
Posts: 1,481
Karma: 9010563
Join Date: Jul 2013
Device: none
Quote:
Originally Posted by sogaiu View Post
The idea is just to use an Android device as a tablet for another machine (e.g. think what "tablets" artists / designers use as input devices). There is no intention to display the desktop contents. It just happens that the script seems very close to being able to do this technically so it seems worth seeing what the set up is capable of
Well, that's pretty easy then: you just create and Android application that displays a black screen and logs taps the way I did it for the Onyx Monitor application.
But you will probably have a problem in lag (very small but it is there).
And what about pressure?
mdp is offline   Reply With Quote
Old 03-24-2018, 04:31 PM   #457
sogaiu
Addict
sogaiu can decode base 64 without using a pencil.sogaiu can decode base 64 without using a pencil.sogaiu can decode base 64 without using a pencil.sogaiu can decode base 64 without using a pencil.sogaiu can decode base 64 without using a pencil.sogaiu can decode base 64 without using a pencil.sogaiu can decode base 64 without using a pencil.sogaiu can decode base 64 without using a pencil.sogaiu can decode base 64 without using a pencil.sogaiu can decode base 64 without using a pencil.sogaiu can decode base 64 without using a pencil.
 
Posts: 209
Karma: 83543
Join Date: Jan 2018
Device: none
Quote:
Originally Posted by mdp View Post
Well, that's pretty easy then: you just create and Android application that displays a black screen and logs taps the way I did it for the Onyx Monitor application.
Right.

Quote:
But you will probably have a problem in lag (very small but it is there).
And what about pressure?
For the first, I thought I'd try it to see how usable / unusable it might be -- don't know until I try

For the second, it appears that info might be available via MotionEvent (getPressure, getHistoricalPressure, etc.), so if it turns out to be for the Max 2, may be it might also be passed along like the other info is already.
sogaiu is offline   Reply With Quote
Old 03-25-2018, 12:12 PM   #458
mdp
Wizard
mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.
 
Posts: 1,481
Karma: 9010563
Join Date: Jul 2013
Device: none
As per the previous comments, I further modified the "Monitor" application and the script from Sogaiu to transform logged touch events into mouse events, to allow for "right mouse button" and "mouse wheel".

One finger tap → Left mouse button (also allows drag, or "touch, swipe, release")
Two fingers tap → Right mouse button if immediately released, Mouse wheel if swipe.

@Sogaiu, I took the liberty to make a few changes around, I hope it is not a problem. I did not make the changes relevant to dekstop extension yet - for now, it assumes desktop clone.
Attached Files
File Type: zip Monitor_Mod3.apk.zip (3.21 MB, 424 views)
File Type: py onyx-monitor-move-pointer-hack-7a.py (6.2 KB, 510 views)

Last edited by mdp; 03-25-2018 at 12:15 PM.
mdp is offline   Reply With Quote
Old 03-25-2018, 02:08 PM   #459
Waiting4somethin
Addict
Waiting4somethin is a jewel in the roughWaiting4somethin is a jewel in the roughWaiting4somethin is a jewel in the roughWaiting4somethin is a jewel in the roughWaiting4somethin is a jewel in the roughWaiting4somethin is a jewel in the roughWaiting4somethin is a jewel in the roughWaiting4somethin is a jewel in the roughWaiting4somethin is a jewel in the roughWaiting4somethin is a jewel in the roughWaiting4somethin is a jewel in the rough
 
Posts: 249
Karma: 7162
Join Date: Dec 2017
Device: Wexler Flex One, NookST, n96ml+
In your hdmi monitor touchscreen video there seems to be a lot of jerky, slow movements (e.g. attempting to move window at 0:06 takes a whole second to update window position) except from about 1:30 to 1:40 or thereabouts when you’re scrolling a document.

I thought the monitor mode was in fast refresh mode by default?

Last edited by Waiting4somethin; 03-25-2018 at 02:46 PM.
Waiting4somethin is offline   Reply With Quote
Old 03-25-2018, 03:16 PM   #460
mdp
Wizard
mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.
 
Posts: 1,481
Karma: 9010563
Join Date: Jul 2013
Device: none
Quote:
Originally Posted by Waiting4somethin View Post
In your hdmi monitor touchscreen video there seems to be a lot of jerky, slow movements (e.g. attempting to move window at 0:06 takes a whole second to update window position)
Counted, it took 0.8s from command (releasing the touch) to screen update. It is, in practice, quite usable.
Yes, as a matter of facts I am not sure about the reason of that delay, and where it comes from (which part of the system is taking time).
That was of course Greyscale Update mode: in A2 mode the delay is still there (though I have not counted).

It would be possible to display objects on the screen move during drag, instead of being rendered only in the final position - but I did not catch the "finger move" events, to keep the system (namely, the amount of data dumped in the log, used to retrieve the events) as slim as possible.

Quote:
Originally Posted by Waiting4somethin View Post
except from about 1:30 to 1:40 or thereabouts when you’re scrolling a document.

I thought the monitor mode was in fast refresh mode by default?
Because in that part (around 1:30 to 1:40) I am using A2, to demonstrate fast update.

The monitor mode is in A2/Fast mode by default, and the video shows instead mostly GU mode, because A2 is inadequate for normal use. A2 is for watching things move, not for reading screen content.

I was not especially attentive towards keeping A2 on when moving things on the screen - I focused on demonstrating operation in GU mode, which is more novel (since the original software forces A2).

Last edited by mdp; 03-25-2018 at 03:40 PM.
mdp is offline   Reply With Quote
Old 03-25-2018, 08:47 PM   #461
sogaiu
Addict
sogaiu can decode base 64 without using a pencil.sogaiu can decode base 64 without using a pencil.sogaiu can decode base 64 without using a pencil.sogaiu can decode base 64 without using a pencil.sogaiu can decode base 64 without using a pencil.sogaiu can decode base 64 without using a pencil.sogaiu can decode base 64 without using a pencil.sogaiu can decode base 64 without using a pencil.sogaiu can decode base 64 without using a pencil.sogaiu can decode base 64 without using a pencil.sogaiu can decode base 64 without using a pencil.
 
Posts: 209
Karma: 83543
Join Date: Jan 2018
Device: none
Quote:
Originally Posted by mdp View Post
@Sogaiu, I took the liberty to make a few changes around, I hope it is not a problem.
No problem

BTW, I keep encountering the difficulty that the "mirror" display option is greyed out in my environment (Xfce). I don't seem to have a reliable way to get mirroring to work -- by default things end up in "extended". When I manage to get mirroring working again, I intend to test.
sogaiu is offline   Reply With Quote
Old 03-25-2018, 10:41 PM   #462
sogaiu
Addict
sogaiu can decode base 64 without using a pencil.sogaiu can decode base 64 without using a pencil.sogaiu can decode base 64 without using a pencil.sogaiu can decode base 64 without using a pencil.sogaiu can decode base 64 without using a pencil.sogaiu can decode base 64 without using a pencil.sogaiu can decode base 64 without using a pencil.sogaiu can decode base 64 without using a pencil.sogaiu can decode base 64 without using a pencil.sogaiu can decode base 64 without using a pencil.sogaiu can decode base 64 without using a pencil.
 
Posts: 209
Karma: 83543
Join Date: Jan 2018
Device: none
A quick note -- with the latest set up, the pointer appears to the north-west of where the stylus is placed (more north than west).

I've been tweaking things with xrandr to get mirroring to work so I suppose it's possible there's something weird on my end:

Code:
xrandr --output eDP1 --auto --primary
xrandr --output HDMI1 --auto
xrandr --output HDMI1 --auto --same-as eDP1
May be it's that "--same-as" part...I notice that the pointer won't move to certain areas of the Max 2 with this set up.

Edit: the invisble border issue was addressed by using calling xrandr with the appropriate output and --panning 2104x1560

Last edited by sogaiu; 03-25-2018 at 10:52 PM.
sogaiu is offline   Reply With Quote
Old 03-26-2018, 07:57 AM   #463
Waiting4somethin
Addict
Waiting4somethin is a jewel in the roughWaiting4somethin is a jewel in the roughWaiting4somethin is a jewel in the roughWaiting4somethin is a jewel in the roughWaiting4somethin is a jewel in the roughWaiting4somethin is a jewel in the roughWaiting4somethin is a jewel in the roughWaiting4somethin is a jewel in the roughWaiting4somethin is a jewel in the roughWaiting4somethin is a jewel in the roughWaiting4somethin is a jewel in the rough
 
Posts: 249
Karma: 7162
Join Date: Dec 2017
Device: Wexler Flex One, NookST, n96ml+
Quote:
Originally Posted by mdp View Post
That was of course Greyscale Update mode: in A2 mode the delay is still there (though I have not counted).

It would be possible to display objects on the screen move during drag, instead of being rendered only in the final position - but I did not catch the "finger move" events, to keep the system (namely, the amount of data dumped in the log, used to retrieve the events) as slim as possible.
Okay I see, thanks for clarifying that—move events are not captured except final position, so it creates a false impression of lag, but there is also an odd delay?

It was just confusing from an outside perspective, if the lag was from the mod, software, or refresh setting, and if the mod utilized the speed advantage of the hdmi port, compared to say, vnc speed (which is reported to be slow). Moving objects seem to be the easiest markers to measure response.

Last edited by Waiting4somethin; 03-26-2018 at 09:47 AM.
Waiting4somethin is offline   Reply With Quote
Old 03-27-2018, 02:32 PM   #464
ballballb
Junior Member
ballballb began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Mar 2018
Device: none
use only for writing

Hi all, I am going to buy this machine for writing my thesis.
What I concern is the speed of the screen as a second monitor.
Is there anyone use it for writing in MS Words? Is the speed acceptable? Would you recommend it?
(sorry, I didn't read the previous posts)
ballballb is offline   Reply With Quote
Old 03-27-2018, 02:40 PM   #465
mdp
Wizard
mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.
 
Posts: 1,481
Karma: 9010563
Join Date: Jul 2013
Device: none
Quote:
Originally Posted by ballballb View Post
concern is the speed
It's subjective. I had a desktop session even today, it's doable. You get used to it.

> sorry, I didn't read the previous posts
When you will really be into it, it's best for you if you skim through it and get practical info about the state of the progress we are in.
mdp is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
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


All times are GMT -4. The time now is 07:04 PM.


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