diff --git a/README.md b/README.md index 46bcdd8..8303452 100644 --- a/README.md +++ b/README.md @@ -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. diff --git a/remarkable.tablet b/remarkable.tablet new file mode 100644 index 0000000..8c3f6d9 --- /dev/null +++ b/remarkable.tablet @@ -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