Commit Graph

24 Commits

Author SHA1 Message Date
e3b 2190524a38 adding short arguments 2020-01-04 23:40:30 +01:00
e3b 585dcab39b adding agrs 2020-01-04 23:27:54 +01:00
Esra Fernau a30f3233e8
Merge pull request #11 from deadly-platypus/algo-update
adding keyboard deactivation, improve rotation algorithm and introduce threshold
2020-01-04 23:21:29 +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 8036af4a4b adding name to Cargo.toml 2019-12-27 10:12:42 -05:00
Derrick McKee 4dd544fb41 adding keyboard deactivation upon rotation 2019-12-27 10:03:55 -05:00
e3b 41fb696fb0 🔖 v0.1.2 2019-09-14 17:52:59 +02:00
e3b 84d91e6130 📄 add AUR to readme 🔖 v0.1.2 2019-09-14 05:30:02 +02:00
Esra Fernau 910b1c8484
Merge pull request #3 from mnussbaum/fix-initial-state-detection
Fix initial state detection and Xorg interaction
2019-09-10 21:58:56 +02: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 19c65e6c7a 🔧 update metadata 2019-08-17 02:15:16 +02: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
Esra Fernau dbcebf433b
📋 add LICENSE
📋 add LICENSE
2019-08-16 20:25:35 +02:00
Esra Fernau 06cd5cb88c
add LICENSE 2019-08-16 20:23:42 +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