Thomas Hindoe Paaboel Andersen
acb65a1bc8
check-svg: only warn about non-consecutive buttons
...
Some devices like the logitech G9 have a button in its profile
data which is not a real physical button. This breaks the direct
mapping from button number to profile number.
This patch reduces this case from an error to a warning
2018-08-13 15:50:24 +10:00
Thomas Hindoe Paaboel Andersen
e5f4b49e36
update logitech G9 SVG
...
Adds wheel left/right clicks and adjusts button numberings
Button5 seems to be configurable in the profile, but no such button
exists on the mouse.
2018-08-13 15:50:24 +10:00
Thomas Hindoe Paaboel Andersen
31d0fa00d9
remove image layer in kinzu SVG
2018-07-30 09:43:47 +10:00
Thomas Hindoe Paaboel Andersen
d28f330d43
set profile dirty on name change
2018-07-30 09:42:25 +10:00
Thomas Hindoe Paaboel Andersen
a29adaf913
hidpp10: use profile name from device
...
Tested on G9
2018-07-30 09:42:25 +10:00
Thomas Hindoe Paaboel Andersen
ea3e68cf7d
meson: bump min version to 0.40.0
...
Needed for build_by_default
2018-07-27 21:13:29 +10:00
gandalf3
158594ec20
Point buildsystem and piper at logitech-g900 svg
2018-07-27 10:19:09 +02:00
gandalf3
6e51849ae5
Add side view, space out leaders so Adwaita dropdowns don't overlap.
...
After some "user testing" (having a friend try it), I've put the side
view back in. This has the benefit of keeping all buttons visible
without overlap, which would be necessary for
https://github.com/libratbag/piper/issues/71 .
2018-07-27 10:19:09 +02:00
gandalf3
29731aa578
Fix remaining missing leaders and add style properties
2018-07-27 10:19:09 +02:00
gandalf3
4d0ef4f2c1
Add buttons to device layer
...
Also set button ids for device layer button objects
2018-07-27 10:19:09 +02:00
gandalf3
e7d03448cc
Add button ids to leader lines and add leader objects
...
Note: mouse up and mouse down ignored for now
2018-07-27 10:19:09 +02:00
gandalf3
2725a55770
Add LED and Button leads to logitech g600 svg
2018-07-27 10:19:09 +02:00
gandalf3
e5be1a70eb
Add logitech G600 svg
2018-07-27 10:19:09 +02:00
Thomas Hindoe Paaboel Andersen
26493aceaf
G600: fix setting resolution
2018-07-24 09:42:45 +02:00
Thomas Hindoe Paaboel Andersen
c4f5bd5218
Driver for logitech G600
...
A driver for the logitech G600. The behavior is similar to the
G300 but with enough differences that it seemed cleaner to implement
as a separate driver.
2018-07-24 09:42:45 +02:00
Thomas Hindoe Paaboel Andersen
7c65b0b4a9
increase max number of report rates to 8
...
This is needed for the logitech G600
2018-07-24 09:42:45 +02:00
Peter Hutterer
d81c68d94f
meson: change to use "-Dtests=true" instead of "enable-tests"
...
This is more meson-like, the "enable-foo" is a autotools leftover.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net >
2018-07-20 07:38:00 +02:00
Peter Hutterer
a5a2ea1a70
README: fix link to the DBus interface specification
...
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net >
2018-07-18 14:59:03 +10:00
Peter Hutterer
507d10378a
README: replace mesonconf with meson configure
...
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net >
2018-07-18 08:12:18 +10:00
Gui Ambros
08f3f7daf2
Fix UTF-8 encoding on merge_ratbagd.py, per #493
2018-07-05 20:31:34 +02:00
Luke
9b848084fd
data/gnome: added device entry for G203/G102, artwork needed ( #490 )
2018-07-05 03:01:35 +01:00
Peter Hutterer
e1ebf7ad1b
Initialize a few _cleanup_ pointers to NULL
...
../src/liblur.c:46:3: warning: 'd' may be used uninitialized in this function [-Wmaybe-uninitialized]
hidpp10_device_destroy(*hidpp10_device);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/liblur.c:198:59: note: 'd' was declared here
_cleanup_hidpp10_device_destroy_ struct hidpp10_device *d;
And similar messages
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net >
2018-07-04 09:05:29 +02:00
Stephen Dawkins
38f46a9be8
updated sensei raw svg
2018-07-01 21:02:40 +02:00
Stephen Dawkins
d07b7582db
removed sensei raw image from svg
2018-07-01 21:02:40 +02:00
Stephen Dawkins
af194a22f0
updated sensei raw image
2018-07-01 21:02:40 +02:00
Stephen Dawkins
d8c7050f6f
disabled macros for steelseries if short_button is set
2018-07-01 21:02:40 +02:00
Stephen Dawkins
30e834b18b
added svg for steelseries sensei raw
2018-07-01 21:02:40 +02:00
Stephen Dawkins
49770a22e7
added support for steelseries sensei raw
2018-07-01 21:02:40 +02:00
Thomas Hindoe Paaboel Andersen
de8cba13cf
hidraw: use cleanup for udev enumerate
2018-06-29 11:25:03 +10:00
Benjamin Tissoires
1fab318dd3
hidpp20-drv: fix number of buttons for non-profiles mice
...
This was nasty. We correctly set the number of buttons but rely later
on the field set in drv_data.
Signed-off-by: Benjamin Tissoires <benjamin.tissoires@gmail.com >
2018-06-05 09:58:06 +10:00
Benjamin Tissoires
e2190964c2
hidpp20-drv: allow non configurable mice to work again
...
Given that there is a sanity check on the available resolution, we
need to provide default values. There might be a way to fetch the
actual values from the hardware but at least provide some sort of
default that re-enables the hardwares.
Fixes bacdab2596
Signed-off-by: Benjamin Tissoires <benjamin.tissoires@gmail.com >
2018-06-05 09:58:06 +10:00
Benjamin Tissoires
8eddf99823
circle: allow to annotate clang static analyzer false positives
...
https://bugs.llvm.org/show_bug.cgi?id=3888
clang analyzer doesn't know how to handle __attribute__(cleanup()).
There are only 2 warnings raised because the analyzer only look at the
current compilation unit for checking the malloc call. So only those
2 are detected by clang and then marked as memory leak.
This also means our current continuous integration doesn't check for
memory leaks.
Signed-off-by: Benjamin Tissoires <benjamin.tissoires@gmail.com >
2018-05-25 08:45:47 +02:00
p4block
9fede0e68d
Add Logitech G302
2018-05-22 09:04:27 +02:00
Peter Hutterer
1e62916e75
meson.build: libratbag 0.9.902
...
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net >
v0.9.902
2018-05-21 09:49:25 +10:00
David Guglielmi
447c69f034
data/gnome: G502: fix leds position
...
In Piper utility, leds configuration is inverted for g502 proteus spectrum
2018-05-17 17:14:04 +02:00
Peter Hutterer
fc0ab95087
Require meson 0.38
...
add_test_setup() was added in 0.38
Fixes #478
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net >
2018-05-14 09:01:24 +10:00
Filipe Laíns
7fe4d6f097
libratbag: create list_append method ( #474 )
2018-04-09 09:47:53 +10:00
FFY00
fa57b417e9
steelseries: add dirty dpi check
2018-04-06 15:34:59 +02:00
FFY00
1aec9c0f54
steelseries: check button dirty flag when setting profile
2018-03-28 15:40:36 +02:00
Thomas Hindoe Paaboel Andersen
d1918a063c
steelseries: sleep between messages
...
Adding the sleep makes the writes to the device more
reliable.
2018-03-26 21:55:55 +02:00
Thomas H. P. Andersen
770dd62b1d
hidpp10: fix finding the closest dpi ( #463 )
...
value and dpi are unsigned so the delta calculations was wrong when
dpi is larger than than value. Casting to int should be fine for the
expected range of values in those variables.
2018-03-19 10:13:10 +10:00
Thomas H. P. Andersen
b474e76ac2
ratbagd: use correct enum type ( #464 )
...
RATBAG_RESOLUTION_CAP_SEPARATE_XY_RESOLUTION is a part of
ratbag_resolution_capability.
2018-03-19 10:12:34 +10:00
Thomas H. P. Andersen
6fa6e18408
meson: use three single quotes for multiline strings ( #462 )
...
This is needed for future versions of meson
2018-03-16 16:41:24 +10:00
Faalagorn
8ee19efee9
Rename etekcity device file to Etekcity Scroll Alpha ( #461 )
...
The driver is for Etekcity Scroll Alpha, based on the etekcity.svg and https://www.phoronix.com/scan.php?page=news_item&px=Libratbag-Announced
2018-03-08 10:36:17 +10:00
Yanko Kaneti
45282e7bd9
dbus service: use the actual ratbagd service name and not the alias
...
The alias can be used only when the service is enabled
2018-03-02 15:29:59 +10:00
Thomas Hindoe Paaboel Andersen
54b04ffff8
logitech G300: set LED mode capabilities
2018-02-23 09:18:32 +10:00
Thomas Hindoe Paaboel Andersen
1243d5bb13
steelseries: use macros for key+modifiers
2018-02-22 11:08:46 +01:00
Thomas Hindoe Paaboel Andersen
627fc5054f
logitech-g300: use macros for key+modifiers
2018-02-22 11:08:46 +01:00
Thomas Hindoe Paaboel Andersen
a0830a8aaa
add helpers to convert keypress to/from macro
...
Adds two helpers to ease the conversion between
key+modifiers and a macro. These are only intended
for single-key presses, not long macros.
2018-02-22 11:08:46 +01:00
Yanko Kaneti
02cbfc23b7
tools: Heed various PyGIDeprecationWarnings
2018-02-21 12:10:48 +10:00