Peter F. Patel-Schneider
ad0f9ec712
settings: fix bug when reading BACKLIGHT setting from device
2024-03-02 09:22:57 -05:00
Matthias Hagmann
7ef3059b69
clean up: Remove editor specific marks
...
Related #2273
2024-02-29 10:10:46 -05:00
Matthias Hagmann
e53b5380a3
fix: Replace invalid hidpp20 usage
...
Related #1097
2024-02-28 17:41:46 -05:00
Matthias Hagmann
c3b01bffae
fix: Replace invalid hidpp10 usage
...
Related #1097
2024-02-28 17:41:46 -05:00
Peter F. Patel-Schneider
6939fb7196
solaar: use only timer thread to save config.yaml
2024-02-27 14:47:03 -05:00
Peter F. Patel-Schneider
e3b25840fd
docs: improve README.md
2024-02-27 14:47:03 -05:00
Anton Soroko
1033921d7c
doc: Add link to Debian package to README.md
...
* Add link to Debian package to README.md
Add link to Debian package and mention its maintainer.
Also i removed mention about ubuntu version since they always changes b/c of "end of life/support". And i removed mention about kububntu since there are many other flavours of ubuntu like xubuntu.
* Update README.md
Co-authored-by: Peter F. Patel-Schneider <pfpschneider@gmail.com>
---------
Co-authored-by: Peter F. Patel-Schneider <pfpschneider@gmail.com>
2024-02-27 06:06:47 -05:00
Peter F. Patel-Schneider
1adc8ad688
docs: adjust image placing in README
2024-02-26 17:46:18 -05:00
Peter F. Patel-Schneider
cebc5a3f57
docs: adjust image size in README
2024-02-26 17:38:54 -05:00
Peter F. Patel-Schneider
f6003af99a
docs: improve README
2024-02-26 17:29:46 -05:00
Peter F. Patel-Schneider
6805a57b94
hid: copy newer version of hid_parser into Solaar codebase
2024-02-26 14:19:16 -05:00
Peter F. Patel-Schneider
8ae86acd65
ui: fix bug when displaying receiver notification flags
2024-02-26 10:55:14 -05:00
Peter F. Patel-Schneider
67be689866
device: reorder code in settings
2024-02-25 07:23:03 -05:00
Peter F. Patel-Schneider
e8dadcd5c2
doc: update installation documentation
2024-02-23 13:30:52 -05:00
Peter F. Patel-Schneider
069f96fe48
hidapi: make hid_parser optional, but add it to setup
2024-02-23 13:30:52 -05:00
Peter F. Patel-Schneider
20c4d64d17
device: add missing license blocks
2024-02-23 11:37:23 -05:00
Peter F. Patel-Schneider
b7afc410ba
device: clean up listener and notifications code
2024-02-23 11:37:23 -05:00
Peter F. Patel-Schneider
14f19ceaaf
solaar: cleanup listener code
2024-02-23 11:37:23 -05:00
Peter F. Patel-Schneider
8744506259
solaar: add locks to prevent multiple persisters for device
2024-02-23 08:40:16 -05:00
Peter F. Patel-Schneider
3954bbd111
solaar: clean up configuration code
2024-02-23 08:40:16 -05:00
Peter F. Patel-Schneider
ce2de71b1b
device: clean up device and receiver code
2024-02-22 09:57:02 -05:00
Peter F. Patel-Schneider
646ef2f596
device: move battery constants common to HID++ 1.0 and 2.0 to common
2024-02-22 09:57:02 -05:00
Peter F. Patel-Schneider
24ae9bacaa
device: move mapping of device kind into hidpp20
2024-02-22 09:57:02 -05:00
Peter F. Patel-Schneider
4b33c119f6
device: move pairing information gathering to receiver
2024-02-22 09:57:02 -05:00
Peter F. Patel-Schneider
9228fa1da0
docs: update contributors
2024-02-22 09:46:21 -05:00
Peter F. Patel-Schneider
fc8628c9c5
solaar: fix debugging levels
2024-02-21 16:06:22 -05:00
Peter F. Patel-Schneider
353c2dfb2f
device: expand allowable profile numbers
2024-02-21 16:06:22 -05:00
Peter F. Patel-Schneider
8e44c08139
device: clean up __init__ in logitech_receiver
2024-02-21 16:06:22 -05:00
Peter F. Patel-Schneider
767a729598
dist: modify pre-commit args to make ruff change files
2024-02-21 16:06:22 -05:00
Peter F. Patel-Schneider
68b62a9ee4
device: fix bug in hidpp20 get host names
2024-02-21 16:04:32 -05:00
Peter F. Patel-Schneider
af7806ed00
device: fix typo
2024-02-21 16:04:32 -05:00
Matthias Hagmann
04e709b00a
Remove yapf exclusions
...
Related #2295
2024-02-20 15:41:10 -05:00
Matthias Hagmann
eb937fcc3a
Manually fix linter issues
...
Related #2295
2024-02-20 15:41:10 -05:00
Matthias Hagmann
7774569971
Apply ruff format
...
Run ruff auto formatting using:
ruff format .
Related #2295
2024-02-20 15:41:10 -05:00
Matthias Hagmann
35f63edcd8
Makefile: Add command for formatting and linting
...
Format code:
make format
Lint code (automatically fixing issues when possible):
make lint
Related #2295
2024-02-20 15:41:10 -05:00
Matthias Hagmann
fb6285606d
Introduce ruff formatter and linter
...
Replace yapf, isort and flake8 with much faster ruff formatter. Remove
conflicting rule and switch to double quotes for strings.
Install:
pip install ."[dev]"
pre-commit install
Run pre-commit hooks:
pre-commit run -a
Related #2295
2024-02-20 15:41:10 -05:00
Peter F. Patel-Schneider
ce00a78e7f
rules: fix bug in Set action
2024-02-20 11:16:40 -05:00
Peter F. Patel-Schneider
3f692c0fe2
device: add notify module to logitech_receiver
2024-02-20 08:35:19 -05:00
Peter F. Patel-Schneider
6f633efac5
ui: implement setting_changed callback and pass in to new devices and receivers
2024-02-20 06:19:23 -05:00
Peter F. Patel-Schneider
ed248c62b9
device: add callback to call when changing a setting
2024-02-20 06:19:23 -05:00
Peter F. Patel-Schneider
476f41f8ae
logitech_receiver: style fixes
2024-02-20 05:58:33 -05:00
Matthias Hagmann
5f487dd3b2
logitech_receiver: Move hidpp20 constants into new module
...
Related #1097
2024-02-20 05:58:33 -05:00
Matthias Hagmann
2fcab65486
logitech_receiver: Move hidpp10 constants into new module
...
Related #1097
2024-02-20 05:58:33 -05:00
Matthias Hagmann
e8fdbeee8e
logitech_receiver: Move exceptions into own module
...
Related #1097
2024-02-20 05:58:33 -05:00
Peter F. Patel-Schneider
fa9494435b
device: streamline status code
2024-02-19 09:18:08 -05:00
Peter F. Patel-Schneider
50ddb54466
hidapi: upgrade debugging in udev
2024-02-19 09:16:56 -05:00
MattHag
ad110498a6
dist: Fix deprecated GitHub actions
...
* Show pytest coverage in GitHub CI tests
Related #1097
* Extend Makefile with installation and test targets
Refactor setup steps to unify commands between Linux and macOS.
Move bash commands into Makefile for consistency and enable local
execution of GitHub CI commands corresponding Makefile targets.
Install on Ubuntu:
make install_ubuntu
Install on Ubuntu for development:
make install_ubuntu PIP_ARGS=."[test]"
Fixes #2303
* Improve name of GitHub test actions
Related #2303
* Upgrade GitHub actions to Node.js 20
Replaces deprecated Node.js 16 actions.
Related #2256 , #2284
2024-02-18 08:30:31 -05:00
MattHag
9617cb88df
dist: extend makefile and tests
...
* Show pytest coverage in GitHub CI tests
Related #1097
* Extend Makefile with installation and test targets
Refactor setup steps to unify commands between Linux and macOS.
Move bash commands into Makefile for consistency and enable local
execution of GitHub CI commands corresponding Makefile targets.
Install on Ubuntu:
make install_ubuntu
Install on Ubuntu for development:
make install_ubuntu PIP_ARGS=."[test]"
Fixes #2303
* Improve name of GitHub test actions
Related #2303
2024-02-18 08:29:29 -05:00
Peter F. Patel-Schneider
20a76fb4d3
device: improve features array
2024-02-18 08:21:09 -05:00
Peter F. Patel-Schneider
ab9e06829a
ui: move ui_async to common.py
2024-02-18 08:09:34 -05:00