From 95f62978d6bfe23b2dcbb4310b537cb91520b2e0 Mon Sep 17 00:00:00 2001 From: evan Date: Sat, 16 May 2020 21:11:24 -0500 Subject: [PATCH] bump version --- README.md | 20 +++++++++++--------- remarkable_mouse/remarkable_mouse.py | 2 +- 2 files changed, 12 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index 46bcdd8..988e64c 100644 --- a/README.md +++ b/README.md @@ -22,7 +22,7 @@ By default, `10.11.99.1` is used as the address. Seems to work pretty well wirel specify address, monitor, orientation, password ``` bash -remouse --address 192.168.1.1 --orientation right --monitor 1 --password foobar +remouse --address 192.168.1.1 --orientation right --mode fit --monitor 1 --password foobar ``` passwordless login @@ -35,8 +35,9 @@ remouse --key ~/.ssh/remarkable # Usage usage: remouse [-h] [--debug] [--key PATH] [--password PASSWORD] - [--address ADDRESS] [--orientation {vertical,left,right}] - [--monitor NUM] [--threshold THRESHOLD] [--evdev] + [--address ADDRESS] [--mode {fit,fill}] + [--orientation {top,left,right,bottom}] [--monitor NUM] + [--threshold THRESH] [--evdev] use reMarkable tablet as a mouse input @@ -46,9 +47,10 @@ remouse --key ~/.ssh/remarkable --key PATH ssh private key --password PASSWORD ssh password --address ADDRESS device address - --orientation {vertical,left,right} - --monitor NUM monitor to use - --threshold THRESHOLD - stylus pressure threshold (default 1000) - --evdev use evdev to support pen tilt (requires root, no OSX - support) + --mode {fit,fill} scale setting + --orientation {top,left,right,bottom} + position of tablet buttons + --monitor NUM monitor to output to + --threshold THRESH stylus pressure threshold (default 600) + --evdev use evdev to support pen pressure (requires root, + Linux only) diff --git a/remarkable_mouse/remarkable_mouse.py b/remarkable_mouse/remarkable_mouse.py index f5225d3..663bd81 100755 --- a/remarkable_mouse/remarkable_mouse.py +++ b/remarkable_mouse/remarkable_mouse.py @@ -84,7 +84,7 @@ def main(): parser.add_argument('--key', type=str, metavar='PATH', help="ssh private key") parser.add_argument('--password', default=None, type=str, help="ssh password") parser.add_argument('--address', default='10.11.99.1', type=str, help="device address") - parser.add_argument('--mode', default='fit', choices=['fit', 'fill'], help="scale setting") + parser.add_argument('--mode', default='fill', choices=['fit', 'fill'], help="scale setting") parser.add_argument('--orientation', default='right', choices=['top', 'left', 'right', 'bottom'], help="position of tablet buttons") parser.add_argument('--monitor', default=0, type=int, metavar='NUM', help="monitor to output to") parser.add_argument('--threshold', metavar='THRESH', default=600, type=int, help="stylus pressure threshold (default 600)")