45 Commits

Author SHA1 Message Date
d06ba257b1 fix link 2020-09-13 18:01:46 +02:00
0c78c264c5 add small description at top of readme 2020-09-13 17:47:14 +02:00
fe0a262f48 small fix 2020-09-13 17:13:51 +02:00
51dc6f23b1 disable touch when stylus is present 2020-09-12 13:00:45 +02:00
9dd06f80bb add 2 finger scroll 2020-09-12 12:46:30 +02:00
c0ac58c806 fix mouse release 2020-09-12 12:46:12 +02:00
8b2047dcb6 added drag and hold 2020-09-11 21:48:30 +02:00
a66bca9d28 add right click 2020-09-11 21:22:34 +02:00
e0c067684c add touchscreen as touchpad 2020-09-11 21:08:43 +02:00
evan
090ceb07c2 add 2020-09-07 23:03:58 -05:00
evan
6487e8d6fe update readme 2020-07-28 04:40:20 -05:00
evan
5d8c93c7ca remove hashbang 2020-07-12 21:33:09 -05:00
evan
95f62978d6 bump version 2020-05-16 21:12:21 -05:00
evan
6e88751e23 bump version 2020-05-16 21:08:11 -05:00
evan
4fa89a9119 support --mode, --orientation, --monitor with --evdev 2020-05-16 21:06:26 -05:00
evan
efc8dcb23c swap fit and fill, change remap args 2020-05-16 21:06:26 -05:00
evan
1646fff807 correct wacom height 2020-05-16 21:06:26 -05:00
evan
293d527e39 make --orientation correspond to location of tablet buttons 2020-05-16 21:06:26 -05:00
Evan Widloski
6027c258d0 Merge pull request #22 from catskul/catskul/sshagent
feat: option to use ssh agent
2020-05-09 01:32:40 -05:00
Andrew Somerville
ca46931c91 feat: option to use ssh agent 2020-05-09 01:19:57 -04:00
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…
2020-05-08 01:19:58 -05:00
Andrew Somerville
67760104b8 chore: switch device id number to hex for easier matching with header files, and add comment noting what they mean 2020-04-28 01:02:53 -04:00
evan
7459ae2f49 add --mode 2020-04-26 16:52:27 -05:00
evan
26f7bc6c5e bump up preview res 2020-04-24 02:12:56 -05:00
evan
6af1fc920a bump version 2020-04-22 16:10:51 -05:00
evan
e40a27b4a5 add connected message 2020-04-22 16:10:46 -05:00
evan
22adc451f6 add animated image 2020-04-22 16:10:31 -05:00
evan
d877b51331 add makefile 2020-04-22 16:10:26 -05:00
evan
688b4c8112 keygen fix 2020-04-19 22:54:03 -05:00
evan
e159761915 add quickstart section, show options 2020-04-19 22:48:25 -05:00
evan
ca91bcfd47 bump version 2020-04-15 11:03:05 -05:00
evan
e86a5dbe42 Separate libevdev, pynput solutions into modules 2019-07-14 22:53:14 -05:00
evan
06e4141268 combine libev/pynput solutions, add --evdev arg 2019-07-13 00:57:16 -05:00
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.
2019-06-22 18:06:20 +02:00
Evan Widloski
b46c1cc075 Merge pull request #7 from bordaigorl/fix-events
Fix too many PRESS events issue
2019-05-06 18:13:38 -05:00
Emanuele
f5a377475e Fix too many PRESS events issue #6 2019-05-06 10:18:24 +01:00
evan
dc1697913b fix --password 2019-04-03 19:21:56 -05:00
evan
52c0c52ae2 the world isn't ready for fstrings 2019-04-03 19:21:56 -05:00
evan
5d88a678d9 add --threshold, toss old variables 2019-04-03 19:21:56 -05:00
evan
b936c89cc2 add --threshold, toss old variables 2019-03-14 00:55:08 -05:00
Evan Widloski
80a8111ece Update README.md 2019-02-25 20:40:15 -06:00
evan
b071b9af85 add photo, ssh connection message 2019-02-25 20:37:10 -06:00
Evan Widloski
a890ba07ea Merge pull request #1 from LinusCDE/master
Fixed struct format to prevent lagging cursor and future bug
2019-02-24 17:27:25 -06:00
Linus
b75c1ac54f Fixed struct format to prevent lagging cursor and future bug 2019-02-24 16:00:00 +01:00
evan
1daaa1e3fe init commit 2019-02-24 03:24:48 -06:00