Skip to content

Commit

Permalink
feat: enable normal 'Wacom Tablet' configuration in gnome-control-center
Browse files Browse the repository at this point in the history
  • Loading branch information
catskul committed May 10, 2020
1 parent 95cbb14 commit e8976bd
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 0 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,3 +52,8 @@ remouse --key ~/.ssh/remarkable
stylus pressure threshold (default 1000)
--evdev use evdev to support pen tilt (requires root, no OSX
support)

# Integration

To get gnome control center to treat remarkable-mouse as a wacom tablet, copy remarkable.rule into /usr/share/libwacom/
Once copied, `libwacom-list-local-devices` should show 'reMarkable tablet 1' whenever `remarkable-mouse` is running. `gnome-control-center` aka gnome settings will show remarkable in Devices > Wacom Tablet and allow you to easily map to a monitor, change the rotation, etc.
29 changes: 29 additions & 0 deletions remarkable.tablet
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# reMarkable
#
# Button Map: TODO
#
# Default button assignments: TODO
#
# stylus with two buttons and no eraser
# Pen active area: 8.25 x 6.125 in

[Device]
Name=reMarkable tablet 1
DeviceMatch=usb:056a:0004
Class=Bamboo
Width=6
Height=8
IntegratedIn=
#Layout=
Styli= #FIXME

[Features]
Stylus=true
Reversible=true
Touch=false # will update when we fix this
Buttons=3
Ring=false

[Buttons]
Top=A;B;C
EvdevCodes=0x110;0x112;0x111 # might need tweaking

0 comments on commit e8976bd

Please sign in to comment.