34 Commits

Author SHA1 Message Date
c846460402 Check if the CYCLE_BUTTON is None to prevent a potential bug 2021-02-09 20:23:46 +03:00
ae291f6406 Implement config changes for mode switching and key holding 2021-02-09 19:57:55 +03:00
b8c16ed06d Reload config on SIGUSR1 2021-02-05 00:58:29 +03:00
Eric Jiang
03c646b92f Print tablet name when device is found 2021-02-04 13:05:31 -08:00
Eric Jiang
13e40d0025 Refactor tablet device search code 2021-02-04 13:02:53 -08:00
bd22057c30 gereneralize .gitignore 2021-02-04 12:57:17 -08:00
Eric Jiang
6374f4bf68 Update README for Q620M tablet 2021-02-03 15:17:40 -08:00
Eric Jiang
90fde715f5 Add reference file of raw button data 2021-02-03 15:14:51 -08:00
Eric Jiang
c9e68d15b4 Merge branch 'press-release' into NeoTheFox-patch-1 2021-02-03 14:53:22 -08:00
Eric Jiang
44511474e2 Hard-coded press/release for Ctrl key
Experimental changes to hopefully support holding down a tablet
button to hold down a key.
2021-02-03 14:50:52 -08:00
52014fb000 H620M -> Q620M proper name 2021-02-03 20:58:19 +03:00
68aae254b4 add .gitignore to et rid of untracked file warning 2021-02-03 20:29:10 +03:00
ea4cd19015 Add a proper shebang 2021-02-03 20:28:12 +03:00
bec7a9f7ad H620M Dial support 2021-02-03 20:27:37 +03:00
f5aaaf62d1
Support Q620M
A quick hacky way to support Q620M
2021-02-02 12:15:34 +03:00
Eric Jiang
c04e2aca3f Switch to 1-based indexing for buttons 2020-11-04 08:25:02 -08:00
Eric Jiang
cba98d852c Add notes about where the header code came from 2020-10-31 19:57:39 -07:00
Eric Jiang
07759535c2 Remove xdo_t members that were removed upstream
At some point the upstream xdotool removed the modmap and keymap members
from the xdo struct, which breaks the ABI. The Debian maintainer wrote a
patch to keep it in and preserve ABI compatibility.

Since we are only dealing with the a pointer to an xdo_t, it should be
OK to remove it and still have it work on Debian.
2020-10-31 19:52:57 -07:00
Eric Jiang
826defad86 Accept 0x08 as first byte in addition to 0xf7 2020-10-30 11:12:40 -07:00
Eric Jiang
22a9ab4222 Remove auto-generated C file 2020-10-29 20:31:55 -07:00
Eric Jiang
68ac8fc9aa README.md: Minor grammar touch-up 2020-10-29 20:30:42 -07:00
Eric Jiang
9d3217bba4 Add README.md 2020-10-29 20:29:21 -07:00
Eric Jiang
d3bb21a639 Fix capitalization of "Tab" 2020-10-29 20:25:16 -07:00
Eric Jiang
dbda31cf55 Add GPLv3 as license 2020-10-29 20:10:48 -07:00
Eric Jiang
ec0754804d Retry device search if tablet disconnects 2020-10-29 18:01:14 -07:00
Eric Jiang
71d396dc7b Quit if default config file was created 2020-10-29 17:55:37 -07:00
Eric Jiang
3e2b04ef5a Create default config file if not exists 2020-10-29 17:53:04 -07:00
Eric Jiang
84ed4a3195 Add support for scroll strips 2020-10-29 15:22:59 -07:00
Eric Jiang
fada7e6a94 Add ability to read config file 2020-10-29 15:13:29 -07:00
Eric Jiang
f5a6941b01 Automatically find /dev/hidrawX device 2020-10-29 15:00:58 -07:00
Eric Jiang
3ce4b767ae Proof of concept of working key handling 2020-10-29 14:46:22 -07:00
Eric Jiang
97c18a7d95 Add dump file of data from Huion Kamvas 22 (2019) 2020-10-29 14:31:27 -07:00
Eric Jiang
50a792d04c Proof of concept xdo FFI 2020-10-29 14:17:21 -07:00
Eric Jiang
2a47f41901 Add cffi and create tentative cffi for xdo 2020-10-29 14:01:07 -07:00