Jente Hidskes
b1feabaf64
resolution: add signal for active resolution changes
...
This implements a signal that is fired whenever the active resolution
changes. For now the signal is only fired when the resolution changes
through the setter, ratbagd_resolution_set_resolution, as profile changes may
not always be hooked up in the hardware.
Reference #8 .
2017-05-17 12:50:35 +10:00
Jente Hidskes
2722e008e0
profile: add signal for active profile changes
...
This implements a signal that is fired whenever the active profile
changes. For now the signal is only fired when the profile changes
through the setter, ratbagd_profile_set_active, as profile changes may
not always be hooked up in the hardware.
Fixes #7 .
2017-05-17 12:50:35 +10:00
Benjamin Tissoires
178b08cd0a
ratbagd 0.3
...
Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com >
2017-05-12 16:35:41 +02:00
Jente Hidskes
4dc15451b7
README: s/make install/ninja install/
2017-05-09 14:38:38 +02:00
Jente Hidskes
3a764b6aae
README: replace configure switches with mesonconf switches
2017-05-09 14:38:38 +02:00
Jente Hidskes
190e78c79c
README: small documentation fixes
2017-05-09 14:38:38 +02:00
Peter Hutterer
2750f8c49b
Mark the unknown button type as explicit fallthrough
...
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net >
2017-05-09 07:50:21 +10:00
Peter Hutterer
57ffc9c5d3
meson: drop a bunch of compiler flags
...
These all affect the final executable and should be under the control of the
distro.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net >
2017-05-09 07:50:21 +10:00
Jente Hidskes
a2b858008f
meson: use join_paths with dbusdir for consistency
2017-05-08 20:44:30 +10:00
Jente Hidskes
28956126ec
meson: correctly install service files
...
https://github.com/libratbag/ratbagd/issues/18
2017-05-08 20:44:30 +10:00
Peter Hutterer
44471d3c42
meson: use warning_level=2 instead of manual -Wall -Wextra
...
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net >
2017-05-02 10:14:50 +02:00
Peter Hutterer
fa12517fb2
Drop autotools
...
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net >
2017-04-26 10:13:56 +02:00
Peter Hutterer
9624d1bdcd
Add meson build file
...
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net >
2017-04-26 10:13:56 +02:00
Peter Hutterer
8f7bf150df
Use automake to generate ratbagctl
...
All we do is a single sed, we can leave that to automake.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net >
2017-04-26 10:13:56 +02:00
Peter Hutterer
f5270e1539
Change the sed replacement for meson's benefit
...
No functional changes
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net >
2017-04-26 10:13:56 +02:00
Peter Hutterer
8944353716
Update for new caps in libratbag 0.6
...
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net >
2017-04-25 08:26:14 +02:00
Peter Hutterer
53ff42ea55
README: remove the compilation instructions for systemd
...
By now you should have 229.
And replace the instructions with actual ratbagd build instructions.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net >
2017-04-25 08:26:14 +02:00
Peter Hutterer
25a92e61ef
configure.ac: drop xslt check
...
Some leftover from the triassic period or so
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net >
2017-04-24 10:13:22 +02:00
Peter Hutterer
70a33ec78d
Drop AM_MAINTAINER_MODE
...
This isn't useful
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net >
2017-04-24 10:13:22 +02:00
Peter Hutterer
d358d7433b
Include config.h before anything else
...
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net >
2017-04-24 10:13:22 +02:00
Jente Hidskes
617cd628ea
python: replace == None with is None
...
== checks for value equivalence, but in this case what we
really want is address equivalence. Hence we use is.
2017-03-31 08:22:21 +10:00
Jente Hidskes
9601ba1323
python: catch more DBus exceptions
...
Gio.bus_get_sync may return None when the DBus service is not available (see
libratbag/piper#2 ). In addition to this, the service may time out when it is
being started in which case Gio.DBusProxy.new_sync will raise a GLib.Gerror.
This commit checks for both scenarios and raises a RatbagdDBusUnavailable
exception when either one of them occurs. This will in turn be caught in for
example Piper to properly deal with this.
2017-03-31 08:22:21 +10:00
Stephen Kitt
fc874c0249
Add manpages for ratbagctl and ratbagd
...
Signed-off-by: Stephen Kitt <steve@sk2.org >
2016-10-07 11:17:44 +02:00
bentiss
a9dc630fae
Merge pull request #10 from whot/master
...
dbus cleanup
2016-03-17 09:14:41 +01:00
Peter Hutterer
d874a2e5f1
ratbagd 0.2
...
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net >
2016-03-16 10:12:09 +10:00
Peter Hutterer
a658b117a7
device: add support for QUERY_CONFIGURATION device capability
...
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net >
2016-03-15 14:40:44 +10:00
Peter Hutterer
638b505ade
manager: drop GetDeviceById
...
We don't really expect more than 2-3 devices even on a test box. This function
serves little purpose, we can easily require a caller to just get all devices
(usually just one anyway) and then go from there.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net >
2016-03-15 13:39:28 +10:00
Peter Hutterer
ff3730f3fb
device: use "Name" instead of "Description"
...
This is the terminology used in libratbag as well (and everywhere else where
we deal with input devices).
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net >
2016-03-15 13:29:19 +10:00
Peter Hutterer
00f488dc13
resolution: switch the capabilities to an enum
...
Strings can suffer from locale issues, the official recommendation for DBus
APIs is to use enums here.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net >
2016-03-15 13:12:18 +10:00
Peter Hutterer
ca2f32ea58
device: switch the capabilities to an enum
...
Strings can suffer from locale issues, the official recommendation for DBus
APIs is to use enums here.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net >
2016-03-15 13:12:18 +10:00
Peter Hutterer
0ebbccc6cf
ratbagctl: fix error when printing separate x/y resolutions
...
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net >
2016-03-15 12:23:44 +10:00
Peter Hutterer
7c622ecc58
Adjust for new libratbag 0.4 API
...
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net >
2016-03-15 10:18:23 +10:00
Peter Hutterer
917308d24d
Document the DBus interface in the README
...
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net >
2016-03-14 17:02:17 +10:00
Peter Hutterer
97eee9e0c5
ratbagd 0.1.2
...
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net >
2016-03-11 12:02:19 +10:00
Peter Hutterer
5cc234e27e
configure.ac: add missing AC_SUBST for the dbus config dir
...
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net >
2016-03-11 11:27:16 +10:00
Peter Hutterer
2bbcc51a8b
ratbagd 0.1.1
...
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net >
2016-03-11 10:40:01 +10:00
Peter Hutterer
1824b977f7
Fix typo in README
...
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net >
2016-03-11 09:17:34 +10:00
Peter Hutterer
99011fd3bf
configure.ac: fix dbus install directories
...
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net >
2016-03-11 09:16:48 +10:00
Peter Hutterer
346631cd75
Skip the manual NULL assignment after unref
...
libratbag guarantees that unref() always returns NULL
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net >
2016-03-10 13:03:56 +10:00
Peter Hutterer
8517e103b0
ratbagd 0.1
...
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net >
2016-03-10 12:05:40 +10:00
Peter Hutterer
815a81a610
Spice up the README a bit
...
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net >
2016-03-10 12:05:40 +10:00
Peter Hutterer
20b9339620
README: update install instructions for dbus
...
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net >
2016-03-10 12:05:40 +10:00
Peter Hutterer
2e93ac07f6
Update gitignore for a few things
...
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net >
2016-03-10 12:05:40 +10:00
Peter Hutterer
f385622ec6
Makefile: add a comment marker for the dbus/systemd config files
...
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net >
2016-03-10 12:05:40 +10:00
Peter Hutterer
de83186c3c
Create the dbus directory in $builddir
...
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net >
2016-03-10 12:05:40 +10:00
Peter Hutterer
fa0d57dd47
Install the dbus config as well
...
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net >
2016-03-10 12:05:40 +10:00
Peter Hutterer
b164fa622f
Change to a dbus-activated service
...
We don't shut down once activated but that doesn't mean we need to run when
never requested.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net >
Reviewed-by: David Herrmann <dh.herrmann@gmail.com >
2016-03-10 12:05:40 +10:00
bentiss
e4c654841b
Merge pull request #3 from whot/master
...
fix cleanup code and restart on abort
2016-03-09 09:41:26 +01:00
bentiss
a411248c7c
Merge pull request #2 from whot/wip/pkg-cleanup
...
minor autotools cleanup
2016-03-09 09:39:45 +01:00
Peter Hutterer
a066203b4a
systemd: fix typo in service file
...
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net >
2016-03-09 14:08:20 +10:00