61 Commits

Author SHA1 Message Date
Peter Hutterer
e4384837c6 screenshots: add a screenshot of the error page 2018-09-12 09:42:17 +10:00
Peter Hutterer
5c66b3e44c screenshots: add flathub-compatible 16:9 aspect ratio screenshots 2018-09-10 09:59:00 +10:00
Peter Hutterer
7c1f1e3d5b screenshots: add three screenshots of piper 2017-10-23 08:58:54 +10:00
Jente Hidskes
32aed22d24 s/Hz/DPI/ 2017-07-04 15:07:22 +02:00
Jente Hidskes
b776387e65 Use the new G403 SVG 2017-06-14 21:46:15 +02:00
Jente Hidskes
c314c668bf Remove text from all mockups 2017-06-14 20:12:14 +02:00
Jente Hidskes
45b4225503 Also add the new .svg 2017-06-14 20:08:52 +02:00
Jente Hidskes
4e68bf2aa0 Update designs after speaking with Jakub Steiner 2017-06-14 19:46:30 +02:00
Jente Hidskes
328487005c redesign: make image smaller in welcome-no-devices 2017-06-03 13:57:51 +02:00
Jente Hidskes
198eadc568 redesign: add mockups 2017-06-01 11:07:12 +02:00
Jente Hidskes
42cd543a6d Branch for Wiki data 2017-06-01 11:03:20 +02:00
Peter Hutterer
6d44a84e45 piper 0.2.1
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
0.2.1
2016-04-06 12:16:40 +10:00
Peter Hutterer
0377e04a6a Fix icon path
Oh how I wish for a proper $datadir

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2016-04-06 12:16:00 +10:00
Peter Hutterer
5f33e42552 piper 0.2
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
0.2
2016-04-06 11:45:53 +10:00
Peter Hutterer
9918663380 Add an icon file
Same file as the 404, just shrunk down to 48 pixels and stretched a bit to
fill out the square canvadl (but it is still an svg). Someone with more design
skills can apply some spit and polish to it.

Note: like the .desktop file this ends up being installed in the egg when
using a normal setup.py run.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2016-04-06 11:26:22 +10:00
Peter Hutterer
83ebd8249a Reinstate the SIGINT signal handler
Dropped in 7a579f701f when we switched to setup.py. The main
entry point is now main() so we skipped over this code.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2016-04-06 11:25:55 +10:00
Peter Hutterer
537b63440b Add __pycache__ to gitignore
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2016-03-09 08:17:59 +10:00
Peter Hutterer
f475a78a62 git add the COPYING file
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2016-03-08 10:38:20 +10:00
Peter Hutterer
24dec78048 Add a .desktop file
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2016-03-08 10:38:19 +10:00
Peter Hutterer
5f99b017a5 piper 0.1
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
0.1
2016-03-04 15:46:38 +10:00
Peter Hutterer
b1c1894b0d Rename to README.md
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2016-03-04 15:46:38 +10:00
Peter Hutterer
22cfc8d846 Spice up the README
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2016-03-04 15:46:38 +10:00
Dan Callaghan
7a579f701f Add setup.py, use pkg_resources for loading data files
Also converted piper.py from a standalone module into a package, so that
we have somewhere for setuptools to put the data files and load them
from.

Signed-off-by: Dan Callaghan <dcallagh@redhat.com>
2016-03-04 15:46:38 +10:00
Peter Hutterer
033a4a89a1 Drop the default-mouse graphic
We have a 404 image now, let's use that instead.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2016-03-04 15:46:38 +10:00
Peter Hutterer
e1d698ace0 Get the absolute svg path, not just the svg file
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2016-03-04 15:46:38 +10:00
Peter Hutterer
7e46796779 Drop ratbag.py, moved to ratbagd.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2016-03-04 15:46:38 +10:00
Peter Hutterer
e225a69607 Load the picture from the data dir
And add a 404 picture if we can't find one there.
Ideally the path should come from libratbag's pkgconfig file but that requires
hooking up a makefile or automake or something.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2016-03-04 15:46:38 +10:00
Peter Hutterer
51076d3f34 Don't change the combo box iter until we know which value to set it to
Changing the iter triggers the "changed" signal, so we set all buttons to None
first, then back to the actual value (if any)

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2016-03-04 15:46:38 +10:00
Peter Hutterer
128dc2801d Write out the button mapping on change
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2016-03-04 15:46:38 +10:00
Peter Hutterer
56113d67df Fill in the button functions on the main page
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2016-03-04 15:46:38 +10:00
Peter Hutterer
b896cff5c5 Fix the ui file for the resolution-up entry
Glade crashing continuously and suggesting to autorestore lost this change

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2016-02-25 12:11:18 +10:00
Peter Hutterer
4e33bebcb5 Preselect the correct special function
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2016-02-24 20:41:13 +10:00
Peter Hutterer
8417579b74 Hook up the radio buttons in the button map dialog
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2016-02-24 20:31:58 +10:00
Peter Hutterer
b795dd18ba Drop the height request for the listboxrow in the button interface
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2016-02-24 20:31:24 +10:00
Peter Hutterer
66a8f1cde0 Preselect the right action type in the button dialog
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2016-02-24 17:39:27 +10:00
Peter Hutterer
adf191f0ef Hook up the special function combo box
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2016-02-24 17:22:28 +10:00
Peter Hutterer
606fd8f243 ratbag: hook up the dbus buttons
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2016-02-24 17:21:59 +10:00
Peter Hutterer
032ad93c90 Read buttons from DBus
Or at least what ratbagd currently exports

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2016-02-23 13:32:00 +10:00
Peter Hutterer
19e9df2643 Make RatbagDBus the parent class for all ratbag objects
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2016-02-23 13:24:14 +10:00
Peter Hutterer
5dc6f78797 Show a button map dialog on button click
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2016-02-23 13:19:43 +10:00
Peter Hutterer
ad2d9c3da0 Make sure the error window is actually shown
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2016-02-23 11:50:29 +10:00
Peter Hutterer
28aabd73f4 Move window init into Piper's init
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2016-02-22 14:58:37 +10:00
Peter Hutterer
c7b2003786 Split ratbag init into a helper function
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2016-02-22 14:57:49 +10:00
Peter Hutterer
7df603409e Hook up the profile buttons to update from the device
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2016-02-22 14:44:30 +10:00
Peter Hutterer
4876bab591 First selected profile is the current one, not the active one
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2016-02-22 14:44:30 +10:00
Peter Hutterer
039f8fca9f Hook up resolution changes
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2016-02-22 14:44:30 +10:00
Peter Hutterer
c92330d1a4 Hook up setting the report rate
Still missing from libratbag though

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2016-02-22 14:44:30 +10:00
Peter Hutterer
062cdf9b61 Move the resolution button signal connections into a helper
Only connect the signals when we've set the values in the GUI. Otherwise any
change will trigger a cascade of signals (for potentially unset values) that
get written to the device.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2016-02-22 14:44:30 +10:00
Peter Hutterer
8f37c727a3 Show an error for unswitchable devices
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2016-02-22 13:55:51 +10:00
Peter Hutterer
0f5e246608 Move the GUI updates into a separate function so we can call it repeatedly
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2016-02-22 13:55:51 +10:00