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

Send pen input with pressure and tilt information #2

Open
matteodelabre opened this issue Apr 10, 2020 · 2 comments
Open

Send pen input with pressure and tilt information #2

matteodelabre opened this issue Apr 10, 2020 · 2 comments
Labels
enhancement New feature or request

Comments

@matteodelabre
Copy link
Owner

Would be useful for using drawing apps such as Krita or xournalpp through VNC.

A solution could be to use the GII protocol extension, but we need to investigate how many VNC servers support it first: https://vncdotool.readthedocs.io/en/0.8.0/rfbproto.html#gii-client-message.

@matteodelabre matteodelabre added the enhancement New feature or request label Apr 10, 2020
@matteodelabre
Copy link
Owner Author

matteodelabre commented Apr 10, 2020

At least basic input from the pen would still be a good first approximation.
Done: Initial support for pen input emulated with mouse events. No support for pressure or tilt sensitivity yet.

@Etn40ff
Copy link

Etn40ff commented Sep 2, 2021

A stopgap solution for linux machines is to use https://github.com/Blub/netevent. Here is a summary of how to do so:

  • install netevent on the host machine

  • make sure uinput is enabled in the kernel and that user has permission to
    access /dev/uinput

  • unzip and copy this binary netevent.zip to the remarkable, possibly within your $PATH

  • edit the following configuration file changing user to the correct username
    and put it in a suitable location in the remarkable

device add mymouse /dev/input/by-path/platform-30a20000.i2c-event-mouse
output add myremote exec:ssh [email protected] netevent create
grab on
use myremote
  • when starting vnsee also run the following command:
netevent daemon -s /path/to/the/configuration/file netevent-command.sock

TODO:

  • streamline the process
  • make netevent available through toltec

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

No branches or pull requests

2 participants