Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CX CAS: Move Touchpad Cursor via Mouse Cursor #353

Open
cgloeckner opened this issue Oct 13, 2024 · 6 comments
Open

CX CAS: Move Touchpad Cursor via Mouse Cursor #353

cgloeckner opened this issue Oct 13, 2024 · 6 comments

Comments

@cgloeckner
Copy link

Hi,

clicking the touchpad center with the mouse and dragging allows the Calc cursor to appear and being moved, but that's far from being optimal. Using the Calc mouse cursor directly via the Host mouse cursor would improve the overall usability.

glocke

@adriweb
Copy link
Member

adriweb commented Oct 13, 2024

(FWIW, once the cursor is active, you can also click and drag on the LCD with your mouse, not just the touchpad - which is more comfortable)

@cgloeckner
Copy link
Author

Sorry for misphrasing. I meant exactly that. It feels a big awkward.

@adriweb
Copy link
Member

adriweb commented Oct 13, 2024

Well, doing more than this is getting out of "just-emulation" land though, I'd say (if you're messing with memory content to adjust cursor coordinates from the host's ones), whereas right now it sends touchpad events and the OS does what it need to do from this.
It might be acceptable though.

Nevertheless, the current situation is much better than before where no touchpad emulation worked, and you just didn't have cursor control :)

@cgloeckner
Copy link
Author

Your right in both statements. It's better to have some control :-)
And yes, manipulating the Calc cursor pos seems tricky since only the relative touchpad movements seem to be available to perform this (afaik).

@Vogtinator
Copy link
Member

There's one option that would work without OS integration and that's cursor capturing/grabbing, i.e. when clicking the LCD, the host cursor disappears and movement is directly applied to the touchpad. It's still not quite trivial because it would have to translate relative movement to individual touchpad moves to not go beyond the edges.

@gfhdhytghd
Copy link

it will be quite hard to do that,need a way to rebuild the relation of touchpad input to mouse position,other issues are relatively easy to be workout

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants