Łukasz Woźniak
d33b407ba8
rules: don't select windows with no PID when looking for focus window
...
\#1322
2021-11-15 08:45:31 -05:00
Peter F. Patel-Schneider
4e8fb93b31
device: catch errors when applying settings
2021-11-11 11:03:30 -05:00
Peter F. Patel-Schneider
5acc216e12
receiver: use Bolt unique ID as serial number
2021-11-11 10:48:12 -05:00
Peter F. Patel-Schneider
c32a6ca91c
receiver: get device codename from Bolt receiver registers
2021-11-11 10:48:12 -05:00
Peter F. Patel-Schneider
9823e5ab8a
receiver: Bolt connection does not show encryption status
2021-11-11 10:48:12 -05:00
Peter F. Patel-Schneider
603fbe96e0
ui: add pairing for Bolt receivers
2021-11-11 10:48:12 -05:00
Peter F. Patel-Schneider
885cefb5b6
cli: add pairing for Bolt receivers
2021-11-11 10:48:12 -05:00
Peter F. Patel-Schneider
886df1daaf
receiver: add support for Bolt receiver (no pairing yet)
2021-11-11 10:48:12 -05:00
Peter F. Patel-Schneider
2c3578a776
receiver: move receiver pairing information code from device class to receiver class
2021-11-11 10:48:12 -05:00
Peter F. Patel-Schneider
a96caea5e4
receiver: move receiver codename code from device class to receiver class
2021-11-11 10:48:12 -05:00
Hugo Osvaldo Barrera
89d7490bf1
Remove redundant value
...
Opening read-only is the default.
2021-10-30 16:49:41 -04:00
Hugo Osvaldo Barrera
fdd6229179
Avoid unnecessary list allocation
2021-10-30 16:49:41 -04:00
Hugo Osvaldo Barrera
93c4ebe758
Remove obsolete unicode prefix
2021-10-30 16:49:41 -04:00
Hugo Osvaldo Barrera
6c4e0333d4
Drop legacy Python 2 `super()` syntax
...
This is a no-op on Python 3.
2021-10-30 16:49:41 -04:00
Hugo Osvaldo Barrera
cf28308a9f
Simplify yield syntax
2021-10-30 16:49:41 -04:00
Hugo Osvaldo Barrera
df83fd655c
Stop declaring `object` as superclass
...
This syntax was only required on Python 2 and has no effect on Python 3.
2021-10-30 16:49:41 -04:00
Hugo Osvaldo Barrera
22bf4fafff
Drop unnecessary __future__ imports
...
These are all active by default on all recent Python versions.
2021-10-30 16:49:41 -04:00
Hugo Osvaldo Barrera
b96d16672b
Drop obsolete encoding declaration
...
This was only parsed in Python 2.
Python 3 only supports UTF-8 for source files, and that's what it uses.
2021-10-30 16:49:41 -04:00
Jocelyn Thode
8a2d92834f
device: add support for the G914 TKL Keyboard
2021-10-28 12:49:20 -04:00
Jocelyn Thode
10d6a98ca1
device: add support for the PRO X Wireless mouse
2021-10-28 12:49:20 -04:00
Peter F. Patel-Schneider
7873f3e8d0
receiver: handle more device connection protocols
2021-10-28 12:49:20 -04:00
Peter F. Patel-Schneider
5480321f49
device: add information for M500S
2021-10-23 23:16:48 -04:00
Peter F. Patel-Schneider
f1d896ded3
settings: use new setting method for MOUSE GESTURE setting
2021-10-22 15:51:55 -04:00
Peter F. Patel-Schneider
2ca0bd9ac3
settings: use new setting method for DPI SLIDING setting
2021-10-22 15:51:55 -04:00
Peter F. Patel-Schneider
14c1eac79c
settings: add setting for DPI CHANGE button to switch Sensitivity
2021-10-22 15:51:55 -04:00
Peter F. Patel-Schneider
1d73217ad2
receiver: mark Nano receiver C52F as not unpairing
2021-09-25 13:47:47 -04:00
Peter F. Patel-Schneider
585a3b901a
receiver: lock on actual handle, not just on handle number
2021-09-24 21:55:15 -04:00
Peter F. Patel-Schneider
27f6d6c76b
settings: don't use time_ns so as not to require Python 3.7
2021-09-23 13:13:18 -04:00
Peter F. Patel-Schneider
338a2687d3
device: don't signal status change when battery changes from None to None
2021-09-14 11:51:48 -04:00
Peter F. Patel-Schneider
c5ef207961
device: use first word of name for code name if friendly name not available
2021-08-31 19:05:57 -04:00
Peter F. Patel-Schneider
c02a1b820b
device: pass protocol to base request so that SW ID can be done right
2021-08-31 19:05:57 -04:00
Peter F. Patel-Schneider
2f870fe0f7
device: allow for None reponse from kind request
2021-08-31 19:05:57 -04:00
kkrentz
3ef5e63cd4
Fix "'int' object is not subscriptable" on G613
2021-08-30 20:23:10 -04:00
Peter F. Patel-Schneider
b94ae51ac8
rules: consistent naming for HID++ Diversion settings
2021-08-27 06:18:13 -04:00
Peter F. Patel-Schneider
67e40b35e8
device: add G102 mouse
2021-08-22 11:16:41 -04:00
Peter F. Patel-Schneider
30f56a1c0f
device: use 0xFF instead of 0 for direct-connected devices
2021-08-22 11:16:41 -04:00
Vinícius
4b97ebd649
po/i18n: update pt_BR translation
2021-08-20 18:44:04 -04:00
Peter F. Patel-Schneider
14c2ac6959
po: make common button names translatable and show translations
2021-08-06 18:30:52 -04:00
Peter F. Patel-Schneider
a1874c572b
i18n: mark more strings as translatable
2021-08-06 13:41:22 -04:00
Peter F. Patel-Schneider
cdc7a27c9e
rules: add rule condition for process under mouse
2021-07-22 10:46:31 -04:00
Peter F. Patel-Schneider
39a5350f30
settings: add binary read prefix to handle fancy fn-swap setting
2021-07-20 09:59:37 -04:00
Peter F. Patel-Schneider
538ab9c947
receiver: serialize requests per handle so that threads do not receive response for a different request
2021-07-17 13:58:20 -04:00
Peter F. Patel-Schneider
d898edc4a3
notifications: downgrade unknown notifications warnings to info messages
2021-07-15 10:31:38 -04:00
Peter F. Patel-Schneider
ed0b730e74
device: fix bug with timeout when setting reprog keys
2021-07-15 10:21:03 -04:00
Peter F. Patel-Schneider
50392da360
rules: add checks for empty process name and class
2021-07-15 10:16:16 -04:00
Karthik Nishanth
85a86ec3c5
diversion: implement pressed and released action on Key condition ( #1189 )
...
- Track `key_up` key in addition to `key_down`
- Support `pressed` or `released` action in `Key` condition
- Add radio button to KeyUI to represent `pressed` or `released`
2021-07-12 15:51:57 -04:00
Peter F. Patel-Schneider
6290c84efd
rules: upgrade rule execution debug message to info message
2021-07-04 22:10:45 -04:00
Peter F. Patel-Schneider
e15ce68498
rules: process old mouse movement tests as MouseGesture conditions
2021-07-04 09:38:29 -04:00
ApeironTsuka
011f3f556b
rules: allow sequence of mouse moves as mouse gestures
...
* Add more robust mouse gesture support
- Remove existing mouse-* Test types
- Add new 'Mouse Gesture' Condition
- Implement Rule Editor UI for it
- Add support for diverted buttons
- Added diagonal mouse gesture directions
Allows you to chain multiple movements/buttons (for instance, moving the mouse up and then left) together into a single mappable gesture.
* Update docs
* Cleanup
Fix inconsistent indenting
Fix possible overwriting of built-in
Fix 'Mouse Gesture' Condition rule not starting with an initial Action field
* Make flake8 happy
* yapf
* Document no-op and make it more apparent
* Make changes to Mouse Gesture UI suggested/submitted by viniciusbm.
Co-authored-by: Apeiron <apeiron@none>
Co-authored-by: Peter F. Patel-Schneider <pfpschneider@gmail.com>
2021-07-04 08:52:38 -04:00
Peter F. Patel-Schneider
4690ca77c4
settings: fix fake divert gkeys read to return byte string
2021-06-15 19:03:43 -04:00