1
0
forked from drath/libratbag

Commit Graph

  • 40e1785bcc sinowealth: check for device compatibility as soon as possible Yaroslav Chvanov 2023-03-07 03:13:23 +03:00
  • 9a0972891a sinowealth: update the comment about profile count Yaroslav Chvanov 2023-03-07 03:04:53 +03:00
  • 224985e28c sinowealth: add command IDs for the third profile Yaroslav Chvanov 2023-03-07 02:55:09 +03:00
  • 8ef9dbdce4 deploy: 3b7fc7a662 staticssleever668 2023-03-06 21:39:30 +00:00
  • 3b7fc7a662 ratbagctl: show if a profile is dirty Yaroslav Chvanov 2023-03-07 00:30:19 +03:00
  • c4ee9d707d ratbagd.py: sync with Piper Yaroslav Chvanov 2023-03-07 00:23:14 +03:00
  • 5d9364d02c deploy: 52e21d767d staticssleever668 2023-03-06 21:17:48 +00:00
  • 52e21d767d libratbag: take constant pointers where possible Yaroslav Chvanov 2023-03-07 00:12:09 +03:00
  • 364948c32a libratbag: remove fall back for Logitech devices Yaroslav Chvanov 2023-03-06 21:25:46 +03:00
  • e9604305d1 libratbag-data: use the dpi_list_free helper Yaroslav Chvanov 2023-03-06 23:42:31 +03:00
  • 2734bc17de libratbag-util: make dpi_list_free() be able to take NULL Yaroslav Chvanov 2023-03-06 23:41:40 +03:00
  • c674fe7e9f deploy: 2a356736f7 staticssleever668 2023-03-05 13:36:24 +00:00
  • 2a356736f7 Fix drivers making profiles dirty while probing Yaroslav Chvanov 2023-03-05 16:15:53 +03:00
  • 822f37a68c libratbag: check if profile is dirty in sanity check Yaroslav Chvanov 2023-03-05 16:29:29 +03:00
  • 1df7316195 libratbag: check if driver supports committing Yaroslav Chvanov 2023-03-05 16:26:29 +03:00
  • cf0e7c1ff3 deploy: 44af3f145d staticssleever668 2023-03-05 10:42:15 +00:00
  • 44af3f145d ratbagd.py: use the IsDirty property of the DBus API Yaroslav Chvanov 2023-03-05 13:29:36 +03:00
  • f1118b5b64 ratbagd: add IsDirty property to profiles Yaroslav Chvanov 2023-03-05 13:28:11 +03:00
  • 3e42349daa libratbag: add API for checking if profile is dirty Yaroslav Chvanov 2023-03-05 13:26:27 +03:00
  • 9f031e58a1 libratbag: fix profile not becoming dirty on active profile switch Yaroslav Chvanov 2023-03-05 13:25:53 +03:00
  • be1effc9ee deploy: 2b47f5b942 staticssleever668 2023-03-05 02:46:08 +00:00
  • 2b47f5b942 data: add Sinowealth Generic Mouse (258a:0051) Yaroslav Chvanov 2023-03-05 04:55:00 +03:00
  • 78f68d2470 data: add links to device issues with raw configuration data Yaroslav Chvanov 2023-03-05 05:21:39 +03:00
  • 4a0d906092 sinowealth: add support for PMW3212 sensor Yaroslav Chvanov 2023-03-05 05:25:27 +03:00
  • 53f09ed8c7 sinowealth: add more debug logging for easier device file creation Yaroslav Chvanov 2023-03-05 04:52:14 +03:00
  • f96c5e2499 sinowealth: fix incorrect placement of sensor_type in config data Yaroslav Chvanov 2023-03-05 05:23:58 +03:00
  • 2121906df0 deploy: 6a07d0ec9c staticssleever668 2023-03-04 19:05:20 +00:00
  • 6a07d0ec9c build: install ratbagd into sbindir Matthias Bach 2018-07-27 22:59:22 +02:00
  • fb925fb1d6 deploy: 84e8e63752 staticssleever668 2023-03-04 01:14:44 +00:00
  • 84e8e63752 libratbag: don't apply active profile change until committing Yaroslav Chvanov 2023-03-04 04:07:32 +03:00
  • e472b9277b deploy: a3f0ea9a52 staticssleever668 2023-03-04 00:44:30 +00:00
  • a3f0ea9a52 tools: skip linter checks if linters are not installed Yaroslav Chvanov 2023-03-04 03:34:59 +03:00
  • 4b8ac177d1 tools: print errors to stderr Yaroslav Chvanov 2023-03-04 03:34:12 +03:00
  • 12b33b4632 deploy: 0e3f909264 staticssleever668 2023-03-03 20:42:09 +00:00
  • 0e3f909264 ratbagd.py: add back .keys() calls on all GLib.Variant Yaroslav Chvanov 2023-03-03 23:34:27 +03:00
  • fbbc1bd270 deploy: 3f1e0f09cc staticssleever668 2023-03-03 12:45:35 +00:00
  • 3f1e0f09cc ratbagd.py: don't mark a profile as dirty on active profile switch Kyoken 2023-03-03 15:15:48 +03:00
  • 2bc3bed4d6 deploy: b0d3f86287 staticssleever668 2023-03-03 12:07:08 +00:00
  • b0d3f86287 build: add a missing dependency to a test Yaroslav Chvanov 2023-03-02 14:24:13 +03:00
  • a9545b2b63 test: use a simply assert instead of using a helper Yaroslav Chvanov 2023-03-02 14:05:37 +03:00
  • 1d24aa71d3 build: use project-local build and source directories Yaroslav Chvanov 2023-03-02 13:58:21 +03:00
  • a00531fe8b lint: exit early if git ls-files doesn't find anything Yaroslav Chvanov 2023-03-02 13:48:03 +03:00
  • 265e1cee1a test: fix traceback.print_exception() usage on older Python versions Yaroslav Chvanov 2023-03-02 05:46:44 +03:00
  • e7a738086c lint: enable flake8-return Yaroslav Chvanov 2023-03-02 05:17:34 +03:00
  • 40fb7430db lint: enable flake8-simplify Yaroslav Chvanov 2023-03-02 05:01:13 +03:00
  • 27d74ae0f0 Use 'a != b' instead of 'not a == b' Yaroslav Chvanov 2023-03-02 05:00:45 +03:00
  • 80fa7f5b8f Use 'key in dict' instead of 'key in dict.keys()' Yaroslav Chvanov 2023-03-02 04:59:20 +03:00
  • 78b56d6ea0 tools: make all exceptions types have Error as the sufix Yaroslav Chvanov 2023-03-02 04:44:54 +03:00
  • e84a56c424 test: don't return anything from main() Yaroslav Chvanov 2023-03-02 04:32:19 +03:00
  • 04b77a3b9b test: raise ValueError instead of AssertionError manually Yaroslav Chvanov 2023-03-02 04:29:31 +03:00
  • 57323ac978 ratbagctl: remove unnecessary else Yaroslav Chvanov 2023-03-02 04:20:59 +03:00
  • 8455c3ea71 ratbagctl: use standard exception types Yaroslav Chvanov 2023-03-02 04:16:07 +03:00
  • 3252d57b50 ratbagctl: fix an incorrect type hint Yaroslav Chvanov 2023-03-02 04:12:27 +03:00
  • 4b506a4ece lint: enable flake8-pie lints Yaroslav Chvanov 2023-03-02 04:09:34 +03:00
  • 7551bdaeff tools: remove unnecessary pass statements Yaroslav Chvanov 2023-03-02 04:08:53 +03:00
  • ef2049643c ratbagctl: use textwrap.indent instead of inventing the wheel ourselves Yaroslav Chvanov 2023-03-02 02:37:30 +03:00
  • 58518e2253 deploy: 681153ad4d staticssleever668 2023-03-02 00:07:10 +00:00
  • 681153ad4d doc: add angle snapping and debounce time Yaroslav Chvanov 2023-02-15 11:43:18 +03:00
  • 382df65a5d sinowealth: implement debounce time reading/writing Yaroslav Chvanov 2023-01-21 14:23:23 +03:00
  • 51edc2967b add angle snapping and debounce Kyoken 2022-12-09 14:18:44 +03:00
  • 83afff0cf4 deploy: 37628da52f staticssleever668 2023-03-01 22:51:30 +00:00
  • 37628da52f Remove flake8 configuration file Yaroslav Chvanov 2023-03-01 23:41:53 +03:00
  • 1b2259a8cb ratbagctl: rename a member function to prevent incorrect overriding Yaroslav Chvanov 2023-03-01 22:53:29 +03:00
  • 211551ff5b ratbagctl: don't reuse a variable for different types Yaroslav Chvanov 2023-03-01 22:46:10 +03:00
  • 6c5a15172b ratbagctl: make an argument non-optional Yaroslav Chvanov 2023-03-01 22:38:32 +03:00
  • e43a7a279b ratbagctl: simplify an expression to make mypy understand it Yaroslav Chvanov 2023-03-01 22:37:03 +03:00
  • 3be064aef0 ratbagctl: add type hints where possible Yaroslav Chvanov 2023-03-01 18:48:20 +03:00
  • 9b45b2ac03 tools: fix "line too long" warnings where possible Yaroslav Chvanov 2023-03-01 18:16:47 +03:00
  • 2bf349459b tools: ignore a false positive warning Yaroslav Chvanov 2023-03-01 18:05:15 +03:00
  • 57ac72077f tools: don't use complex types as default function arguments Yaroslav Chvanov 2023-03-01 18:03:43 +03:00
  • a192088f13 tools: chain exceptions within exceptions Yaroslav Chvanov 2023-03-01 17:56:26 +03:00
  • fa67024110 tools: fix ambiguous variable names Yaroslav Chvanov 2023-03-01 17:39:53 +03:00
  • 2ba49ba185 test: fix ambiguous variable names Yaroslav Chvanov 2023-03-01 17:39:43 +03:00
  • a66e6d2066 Automatically fix Ruff warnings Yaroslav Chvanov 2023-03-01 17:30:11 +03:00
  • 3aa82d2b35 build: add Ruff for Python code linting Yaroslav Chvanov 2023-03-01 17:08:53 +03:00
  • 49146638a6 Format Python code Yaroslav Chvanov 2023-03-01 17:21:17 +03:00
  • c723490fc3 build: add Python code formatting with black Yaroslav Chvanov 2023-03-01 16:14:58 +03:00
  • bc9fa92667 tools: prevent a syntax error for code editors and linters Yaroslav Chvanov 2023-03-01 15:31:46 +03:00
  • 41b55a1aff Rename Python files throughout the project to have .py* in the suffix Yaroslav Chvanov 2023-03-01 14:52:50 +03:00
  • 4ff4f21efd deploy: f6a3cd74bf staticssleever668 2023-03-01 17:55:35 +00:00
  • f6a3cd74bf gskill: add back button type button actions Yaroslav Chvanov 2023-03-01 20:45:56 +03:00
  • 4f7cd6a3ea deploy: f9266496b0 staticssleever668 2023-03-01 11:47:20 +00:00
  • f9266496b0 ratbagctl: check if there is an active resolution Yaroslav Chvanov 2023-03-01 03:59:58 +03:00
  • 26cc2c7138 ratbagctl: check if there is an active profile Yaroslav Chvanov 2023-03-01 03:59:19 +03:00
  • 11f1ba9f37 tools: don't try to return the first resolution on error Yaroslav Chvanov 2023-03-01 03:58:58 +03:00
  • fc80221187 tools: don't try to return the first profile on error Yaroslav Chvanov 2023-03-01 03:57:54 +03:00
  • 23fa63417f deploy: bc05935322 staticssleever668 2023-03-01 00:31:56 +00:00
  • bc05935322 sinowealth: use the first profile if active profile index is too high Yaroslav Chvanov 2023-03-01 03:04:35 +03:00
  • fb5995a731 sinowealth: get rid of profile cache Yaroslav Chvanov 2023-03-01 02:42:42 +03:00
  • b92645c373 sinowealth: edit a note about active profile index to be more clear Yaroslav Chvanov 2023-01-21 14:11:46 +03:00
  • 08d7c6997d sinowealth: move active profile index and debounce time getting to init Yaroslav Chvanov 2023-01-21 14:08:53 +03:00
  • 9ec8c728cd sinowealth: add missing new-line in a log message Yaroslav Chvanov 2023-01-09 06:19:56 +03:00
  • 085274678f sinowealth: don't change active profile while probing Yaroslav Chvanov 2023-03-01 02:37:22 +03:00
  • f186716e8b deploy: 5ab018df79 staticssleever668 2023-02-25 11:14:31 +00:00
  • 5ab018df79 libratbag: remove everything related to the deprecated ratbag_led_type Yaroslav Chvanov 2023-02-25 14:05:03 +03:00
  • 87f1409b7a test: remove usage of the deprecated LED type field Yaroslav Chvanov 2023-02-25 14:01:11 +03:00
  • f0f0cc8843 sinowealth-nubwo: remove usage of the deprecated LED type field Yaroslav Chvanov 2023-02-25 13:58:22 +03:00
  • cbf09dac75 libratbag-data: don't parse LedTypes from device files Yaroslav Chvanov 2023-02-25 13:57:53 +03:00
  • 311df4e78e G300: remove usage of the deprecated LED type field Yaroslav Chvanov 2023-02-25 13:56:50 +03:00
  • 274f19e84b test: don't allow the deprecated LedTypes field Yaroslav Chvanov 2023-02-25 13:39:47 +03:00