45 Commits (master)
 

Author SHA1 Message Date
Eggert Jung d06ba257b1 fix link 5 years ago
Eggert Jung 0c78c264c5 add small description at top of readme 5 years ago
Eggert Jung fe0a262f48 small fix 5 years ago
Eggert Jung 51dc6f23b1 disable touch when stylus is present 5 years ago
Eggert Jung 9dd06f80bb add 2 finger scroll 5 years ago
Eggert Jung c0ac58c806 fix mouse release 5 years ago
Eggert Jung 8b2047dcb6 added drag and hold 5 years ago
Eggert Jung a66bca9d28 add right click 5 years ago
Eggert Jung e0c067684c add touchscreen as touchpad 5 years ago
evan 090ceb07c2 add 5 years ago
evan 6487e8d6fe update readme 5 years ago
evan 5d8c93c7ca remove hashbang 5 years ago
evan 95f62978d6 bump version 6 years ago
evan 6e88751e23 bump version 6 years ago
evan 4fa89a9119 support --mode, --orientation, --monitor with --evdev 6 years ago
evan efc8dcb23c swap fit and fill, change remap args 6 years ago
evan 1646fff807 correct wacom height 6 years ago
evan 293d527e39 make --orientation correspond to location of tablet buttons 6 years ago
Evan Widloski 6027c258d0
Merge pull request #22 from catskul/catskul/sshagent
feat: option to use ssh agent
6 years ago
Andrew Somerville ca46931c91 feat: option to use ssh agent 6 years ago
Evan Widloski 814036cc00
Merge pull request #23 from catskul/catskul/hex-device-id
chore: switch device id number to hex for easier matching with header…
6 years ago
Andrew Somerville 67760104b8 chore: switch device id number to hex for easier matching with header files, and add comment noting what they mean 6 years ago
evan 7459ae2f49 add --mode 6 years ago
evan 26f7bc6c5e bump up preview res 6 years ago
evan 6af1fc920a bump version 6 years ago
evan e40a27b4a5 add connected message 6 years ago
evan 22adc451f6 add animated image 6 years ago
evan d877b51331 add makefile 6 years ago
evan 688b4c8112 keygen fix 6 years ago
evan e159761915 add quickstart section, show options 6 years ago
evan ca91bcfd47 bump version 6 years ago
evan e86a5dbe42 Separate libevdev, pynput solutions into modules 6 years ago
evan 06e4141268 combine libev/pynput solutions, add --evdev arg 6 years ago
Mattéo Delabre 2f9da784fb
Send events to a virtual input device
Instead of sending mouse move and click events to the system’s main
device, create a separate virtual input device that registers itself as
a Wacom tablet. Most importantly, this enables pressure and tilt
sensitivity which is picked up by programs such as GIMP or Krita.

Because this uses the `libevdev` library that is only supported on
Linux, this commit breaks compatibility with Windows and (probably)
macOS.

Furthermore, because creating virtual input devices is restricted to
root, the script must now be run with `sudo`. Failing to do so will most
likely trigger a permission error.

CLI changes
-----------

* Drop the `--orientation` flag. Orientation of the device can now be
configured just like any other Wacom device using `xinput`:

```
xinput --set-prop "reMarkable tablet stylus" "Wacom Rotation" <orientation>
```

where `<orientation>` is one of 0 (for “right” orientation), 1 (for
“portrait” orientation), 2 (for “left” orientation) or 3 (for “reversed
portrait” orientation).

* Drop the `--monitor` flag. This can also be configured using `xinput`
instead:

```
xinput --map-to-output "reMarkable tablet stylus" <output>
```

where `<output>` is the name of an output currently connected to the
device, as listed by `xrandr` (e.g. LVDS1).

* Drop the `--offset` flag. This didn’t seem to be used anywhere in the
code.

* Drop the `--threshold` flag. The pressure threshold required to
trigger a click event can be configured using `xinput`:

```
xinput --set-prop "reMarkable tablet stylus" "Wacom Pressure Threshold" 1000
```

where `1000` can be replaced by an arbitrary pressure threshold. On my
machine, the default seems to be 26. The pressure profile (mapping the
actual pressure put on the stylus to the pressure actually received by
the drawing programs) can also be adjusted using the following prop:

```
xinput --set-prop "reMarkable tablet stylus" "Wacom Pressurecurve" 50 0
100 50
```

Dependencies changes
--------------------

Replaced dependency pynput with libevdev (which requires that libevdev
is present on the system). Dropped dependency `screeninfo` because
assigning the input to a monitor is no longer done through this program.
6 years ago
Evan Widloski b46c1cc075
Merge pull request #7 from bordaigorl/fix-events
Fix too many PRESS events issue
7 years ago
Emanuele f5a377475e Fix too many PRESS events issue #6 7 years ago
evan dc1697913b fix --password 7 years ago
evan 52c0c52ae2 the world isn't ready for fstrings 7 years ago
evan 5d88a678d9 add --threshold, toss old variables 7 years ago
evan b936c89cc2 add --threshold, toss old variables 7 years ago
Evan Widloski 80a8111ece
Update README.md 7 years ago
evan b071b9af85 add photo, ssh connection message 7 years ago
Evan Widloski a890ba07ea
Merge pull request #1 from LinusCDE/master
Fixed struct format to prevent lagging cursor and future bug
7 years ago
Linus b75c1ac54f Fixed struct format to prevent lagging cursor and future bug 7 years ago
evan 1daaa1e3fe init commit 7 years ago