195 Commits

Author SHA1 Message Date
Denis
48056eb178 data: add G502 X Plus in wireless mode (usb:046d:4099) (#1051) 2025-12-15 17:10:36 +00:00
Kritphong Mongkhonvanit
95236e928d data: add SVG for ASUS ROG Keris (usb:0b05:195c) 2025-11-19 22:10:56 +03:00
Baiyah7o
db6a88a9f2 data: add SVG for Logitech G502 X PLUS Mouse (usb:046d:c095)
Modifying the existing logitech-g502.svg file to match G502X Plus LEDs.

Co-authored-by: Baiyah7o <75333882+Baiyah7o@users.noreply.github.com>
2025-06-05 18:44:08 +03:00
AFCMS
c9f8249b1c appdata: bump OARS version to 1.1
This will remove unknown age rating categories from GNOME Software.
2025-03-07 18:51:07 +03:00
George Cover
3e5a6b96d0 data: add extra bluetooth ID for Logitech MX Master (#1006) 2024-11-24 12:15:41 +00:00
RayJW
c6e54f69df data: add developer tag to appdata
Add developer tag to appdata (https://github.com/libratbag/piper/pull/993)
2024-10-09 17:22:02 +00:00
Domenico
93a5a00476 Added svg for logitech g303 se 2024-08-22 21:07:50 +00:00
sizzlesloth
71431bd5de Text box can be used to set DPI (#960)
* Add dpi_entry GtkEntry objects to UI file and Python.
Find and apply closest resolution in self.resolutions.
[Needed?] Store value on textbox focus in.
[Needed?] Do not apply DPI value if the same as previous value.
DPI entry and resolution sliders affect each others' values.

* Remove pointless recursive logic.
Remove focus methods.

* Calculate DPI text box width based on max supported resolution.

* Renamed methods/signals to be consistent with current convention.

* Add a 'focus-in-event' signal to the DPI entry field.
Pass reference to ResolutionsPage when initialising ResolutionRow.
Use reference to invoke `ResolutionsPage._on_row_activated()`.
Do not toggle Revealer on DPI entry text box focus-in-event if Revealer is already expanded.
Grammar: dpi -> DPI

* Add type hints.
Prefix unused vars with underscores.
Actioned suggested import order from linter.

* Actually apply the closest res value (oops).
Apply the res value on focus-out-event.

* Toggle allow editing of DPI entry if 'disable' button clicked.

* Use set_sensitive() on DPI entry.

* rm pointless var.

* Create custom class for DPI text entry to circumvent assertion warning.
Grab DPIEntry focus when revealing ResolutionRow.
Revert import order.
Removed unused 'previous DPI value' var.
Remove 'private' convention underscore from ResolutionsPage._on_row_activate().
Remove callback method for DPI entry on ResolutionRow.
UI file uses DPIEntry.
Remove insert-text signal for DPIEntry from UI file.

* Line lengths

* Removed unused import.
Underscored unused parameter (PEP convention).

* Reverted underscore convention as to not break existing stuff.

* Use underscore convention, but also use it when invoking the method.

* Renamed handler name for ResolutionsPage to match method.

* Clarified docstring.

---------

Co-authored-by: Dan <64416644+brittle-bones@users.noreply.github.com>
2024-07-24 22:17:09 +00:00
czinehuba
71f96db865 data: add Logitech MX Anywhere 3B
Update svg-lookup.ini as image isn't showing for the mx 3 anywhere
business
2024-07-25 00:50:29 +03:00
Domenico
edd88a208b data: add svg for Glorious Model O/O- 2024-06-04 18:33:05 +03:00
Nadeflore
66c1897540 Add svg for Logitech G705 Mouse 2024-02-18 18:00:45 +01:00
Daniel Levi-Minzi
d553d97b3e add svg for asus rog harpe wireless 2024-01-18 17:06:40 -05:00
BigBoiMan123
8c7cc088c2 Add device image for ASUS ROG Keris Wireless AimPoint 2023-12-23 16:21:17 +03:00
rpachon
c15910bf59 add glorious model-d svg 2023-12-01 14:17:21 +01:00
Kyoken
fe95fa3b61 asus: add chakram x svg 2023-09-19 18:06:49 +03:00
Ahmet Sait
dcf6db1c3e Fix blank app icon issues with KDE application launcher 2023-08-30 14:17:26 +03:00
Peter Hutterer
435152ce2d data: don't make the appstreamcli tool required
We don't want every builder to have to install this.
2023-07-12 09:53:14 +10:00
Yaroslav Chvanov
ba18f7878e ui: fix a position property 2023-03-04 17:48:58 +03:00
Yaroslav Chvanov
cdd1be7095 Move report rate changing from ResolutionsPage to AdvancedPage
Not a setting people change often and it's also just weird to have it
together with resolutions.
2023-03-04 17:48:34 +03:00
Yaroslav Chvanov
57021d2801 Automatically fix ruff warnings 2023-03-04 17:13:05 +03:00
Yaroslav Chvanov
2752b6149a Format code base with black 2023-03-04 17:13:05 +03:00
Yaroslav Chvanov
a8ba212431 build: remove the tests build option
Such option only makes sense if it means building tests, not simply
running some scripts.
2023-03-04 17:12:36 +03:00
Yaroslav Chvanov
111274544e ui: don't use deprecated GtkAlignment
Seems like some of these were also missing `margin-end` properties, I
added them to the children.
2023-03-03 16:41:28 +03:00
Yaroslav Chvanov
cb903440b4 ui: run gtk-builder-tool simplify on files 2023-03-03 16:35:42 +03:00
Yaroslav Chvanov
e83a987f05 ui: use margin-start/end instead of margin-left/right
Fixes a deprecation warning.
2023-03-03 16:35:42 +03:00
Yaroslav Chvanov
f520834f44 ui: Replace padding properties with margin properties
Fixes a deprecation warning.
2023-03-03 16:35:42 +03:00
Yaroslav Chvanov
58639e6008 ui: regenerate all UI files using current Glade version
This does not include all changes as for some reason Glade removes some
widgets and actions.
2023-03-03 16:35:36 +03:00
Yaroslav Chvanov
e08c018bc5 ui: require Gtk 3.22 in all UI files
Some of them produced warnings about certain properties being available
only in Gtk 3.22 or higher.
2023-03-03 16:02:15 +03:00
Yaroslav Chvanov
b54c3b9ef4 leddialog: work-around title bar not being shown
It worked as-is with GtkTemplate, but does not with Gtk.Template.
2023-03-03 15:10:30 +03:00
Yaroslav Chvanov
5aa78ab1ea resolutionspage: disable the report rate button box if unsupported 2023-03-03 14:56:15 +03:00
Kyoken
a46c10d808 Add "advanced settings" page with debounce time and angle snapping 2023-03-03 14:35:41 +03:00
Kyoken
eb711bf0c3 data: add rog strix impact 2 image 2023-03-03 00:45:33 +03:00
José Almeida
28462f0bd1 data: add svg for Logitech G Pro (X) keyboard
Based on logitech-g513.svg
2023-02-14 16:58:15 +03:00
TCH
3fdc7a4ba8 data: add SVG for Logitech MX Master 3S 2023-02-14 16:51:45 +03:00
mistepien
9bf4f25be5 data: add additional USB id for Logitech G102 (046d:c09d) 2023-01-06 17:49:00 +03:00
Stephan Lachnit
48279544f5 ResolutionRow Redesign
Adds buttons to set a resolution active or disabled.

Signed-off-by: Stephan Lachnit <stephanlachnit@protonmail.com>
2022-12-26 22:42:25 +03:00
Yaroslav Chvanov
674bc39e6d data: sort SVGs by device names 2022-11-14 13:06:16 +03:00
Kyoken
80e8bcebf3 data: fix name to fit libratbag 2022-11-14 13:03:05 +03:00
Kyoken
97efce8783 data: asus svgs symlinks 2022-11-14 13:03:05 +03:00
Kyoken
f0eb439935 data: add asus common svgs 2022-11-14 13:02:28 +03:00
Andreas Grosse
104ee170c1 Add Support for G502 X over USB 2022-10-10 21:21:38 +02:00
PeakKS
70e5df7d16 Add support for G502-X Lightspeed 2022-10-07 01:09:35 +03:00
Maximiliano
4ed4f907e9 Replace Quit buttons with normal close buttons (#770)
Using a Quit button is an anti-pattern and might be confusing for users
expecting the quit button to be on the same position as of other apps'.

Note that the button is on the left and by default the close button is
on the right.
2022-08-15 15:34:52 +10:00
christiangnrd
9055d33ac9 Better looking buttons for MX Anywhere 2 (#754) 2022-06-22 08:14:00 +10:00
christiangnrd
10c5653f2d Add correct svg for MX Anywhere 3 (#753) 2022-06-22 08:02:36 +10:00
Lucas Mindêllo de Andrade
b67af5e97e fix(g903): added second led to SVG 2022-06-06 15:45:58 +10:00
Stephan Lachnit
f8bcd1fe71 meson: add test for appdata file
Signed-off-by: Stephan Lachnit <stephanlachnit@protonmail.com>
2022-01-21 08:55:50 +10:00
doomsdayrs
a641c0a85e Add SN TECH T3 Gaming Mouse 2022-01-18 15:02:52 +10:00
doomsdayrs
269c417031 Updated logitech-mx-vertical.svg
The old SVG was hastily made, and was a pain to work with.
This new SVG is organized, cleaned, and easier to look at.
2022-01-14 10:55:13 +10:00
erdincay
0e85173caa data: add Logitech MX Anywhere 3 with single configuration for USB/Bluetooth 2022-01-14 10:53:25 +10:00