Commit Graph

20 Commits

Author SHA1 Message Date
VassiliDev 9e0d2f986f Changed erroneous default.conf default 2021-08-17 06:36:20 -04:00
VassiliDev 6630edfebf Added short form arg and fixed feault value 2021-08-17 06:34:38 -04:00
VassiliDev 6035e39c05 Move normalization factor to cli argument 2021-08-12 19:45:07 -04:00
Adrian Pistol ebbea9e132 Fix xinput rotation.
Left/Right was swapped for the coordinate matrix as well.
2020-03-05 22:06:16 +01:00
e3b e8957f0c60 🔖 v0.1.3 2020-01-04 23:50:44 +01:00
e3b 2190524a38 adding short arguments 2020-01-04 23:40:30 +01:00
Derrick McKee 0b3b48967f incorporating rotation algorithm update 2019-12-31 16:39:09 -05:00
Derrick McKee a2ff5f6895 Merge remote-tracking branch 'fork/master' into algo-update
# Conflicts:
#	src/main.rs
2019-12-31 16:29:56 -05:00
Derrick McKee c654e80acc importing rotation algo update 2019-12-31 16:23:29 -05:00
Derrick McKee 571bd5897f automatically get all keyboards and disable them if desired 2019-12-29 18:13:41 -05:00
Derrick McKee 4dd544fb41 adding keyboard deactivation upon rotation 2019-12-27 10:03:55 -05:00
mnussbaum 7832d2be2c Ensure no zombie processes are left behind
Dead subprocesses need an explicit wait before they're reaped
2019-09-06 00:22:08 -07:00
mnussbaum 2a548252d1 Fix inverted left/right rotation with Xorg backend
The accelerometer to Xorg orientation mapping had left and right
inverted, causing the output to flip opposite the desired direction when
used sideways.
2019-09-06 00:00:27 -07:00
mnussbaum 5ca46c50f8 Fix detection of initial rotation state
This ensures that if rot8 starts while the window server output is
rotated, but the physical device is in a "normal" position, rot8 will
detect the initial misalignment and rotate the window server's output to
reflect the device's physical state.

This scenario occurs if you frequently toggle rot8 on and off as form of
rotation lock, and you:

1. Use rot8 to rotate the output sideways
2. Turn rot8 off
3. Move the physical device back into a "normal" position
4. Turn rot8 back on
2019-09-06 00:00:12 -07:00
mnussbaum 1e0cc3ed57 Use Xorg process to determine if on X backend
I believe the old process name "x" was incorrect. This also moves the
list of backends to an enum instead of a string.
2019-09-05 17:30:15 -07:00
mnussbaum 25860caa84 Apply suggested formatting from rustfmt 2019-09-05 17:28:50 -07:00
e3b 7fd7f53d96 🔧 fix error 2019-08-17 02:07:30 +02:00
e3b fb1ec8ceca add sleep arg & update readme 2019-08-17 01:47:36 +02:00
e3b 74cd1cd438 add X11 support 2019-05-19 05:41:30 +02:00
e3b 0752aaf28e 🌱 2019-05-18 22:27:15 +02:00