https://github.com/ddvk/remarkable-stylus
hack to get the button of a lamy pen working
https://github.com/ddvk/remarkable-stylus
Last synced: 9 months ago
JSON representation
hack to get the button of a lamy pen working
- Host: GitHub
- URL: https://github.com/ddvk/remarkable-stylus
- Owner: ddvk
- License: lgpl-3.0
- Created: 2020-06-08T14:54:35.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2023-11-01T11:58:07.000Z (over 2 years ago)
- Last Synced: 2024-05-01T16:08:46.952Z (about 2 years ago)
- Language: C++
- Size: 23.4 KB
- Stars: 178
- Watchers: 19
- Forks: 10
- Open Issues: 15
-
Metadata Files:
- Readme: README.md
- License: LICENSE.LGPL3
Awesome Lists containing this project
README
# QT plugin for lamy pen
Generates a key press when the pen button is pressed
# Usage
Copy `libqevdevlamyplugin.so` to `/usr/lib/plugins/generic`
`export QT_QPA_GENERIC_PLUGINS=evdevlamy`
or `xochitl -plugin evdevlamy`
to make it permanent edit the `/lib/systemd/system/xochitl.service`
also, you'll need to patch xochitl with `remarkable-hacks`
## Compilation
```
source /usr/local/oecore-x86_64/environment-setup-cortexa9hf-neon-oe-linux-gnueabi
qmake
make
```
### Automagic
```
sh -c "$(wget https://raw.githubusercontent.com/ddvk/remarkable-stylus/master/patch.sh -O-)"
```
plus the patch for xochitl from: https://github.com/ddvk/remarkable-hacks
**Needs to be reapplied after a software upgrade (both this and the hacks)**
### Uninstall Automagic
```
sh -c "$(wget https://raw.githubusercontent.com/ddvk/remarkable-stylus/master/remove.sh -O-)"
```