Bastien Nocera
1087c92a0a
wacom: Debug output by default in test prog
2012-01-11 16:22:44 +00:00
Bastien Nocera
0cd211cfda
wacom: Add i18n support to calibrator test prog
2012-01-11 16:22:24 +00:00
Bastien Nocera
f547c902b6
wacom: Add i18n support to the calibrator
2012-01-11 16:21:44 +00:00
Bastien Nocera
03a18c7dc4
wacom: Use Pango and GTK+ to render text
...
Rather than cairo directly, with all that it entails.
2012-01-11 16:13:13 +00:00
Bastien Nocera
d00e7ee0bd
wacom: Remove private function from header
2012-01-11 12:04:02 +00:00
Bastien Nocera
469e6a610d
wacom: Add COPYING file for calibrator code
...
From https://github.com/tias/xinput_calibrator
2012-01-11 12:03:43 +00:00
Bastien Nocera
a5f7b09106
wacom: Fix warning with unfinished timer
...
We need to remove the timeout once we're done, otherwise it
will keep on running.
2012-01-10 20:34:38 +00:00
Bastien Nocera
815635a3c2
wacom: Simplify run_calibration()
2012-01-10 20:16:33 +00:00
Bastien Nocera
7567d678f9
wacom: Simplify object creation
2012-01-10 20:14:50 +00:00
Bastien Nocera
f52a0c8104
wacom: Remove printf() calls
2012-01-10 20:13:20 +00:00
Bastien Nocera
ccdb171723
wacom: Remove dead expose-event code
...
It's unused, and wasn't called.
2012-01-10 20:00:34 +00:00
Bastien Nocera
b7cf2edd90
wacom: Fix indentation
2012-01-10 19:55:21 +00:00
Bastien Nocera
e70502cc3b
wacom: Use updated _get_area() API
2012-01-10 19:55:01 +00:00
Bastien Nocera
82d6b9e809
wacom: _get_area() helper stylistic changes
...
Including fixing a leak XDevice.
2012-01-10 19:54:41 +00:00
Bastien Nocera
41d73eb43c
wacom: Fix gsize warnings
2012-01-10 19:45:02 +00:00
Bastien Nocera
256d57f6ef
wacom: Remove unused variable
2012-01-10 19:44:43 +00:00
Bastien Nocera
7533c6876b
wacom: Fix out-of-scope usage
...
The output of g_variant_get_fixed_array() is only valid as long
as the GVariant is valid. Outside the function, anything goes.
2012-01-10 19:43:08 +00:00
Bastien Nocera
0b0cc5bbfd
wacom: Remove unused main.h
2012-01-10 19:21:30 +00:00
Bastien Nocera
7b82472645
wacom: s/axys/axis/
2012-01-10 19:19:24 +00:00
Bastien Nocera
4618d62a48
wacom: Those functions don't need to be public
...
So don't export them in the .h file
2012-01-10 19:18:33 +00:00
Bastien Nocera
e44a3327f8
wacom: Remove custom MAX() macro
2012-01-10 19:12:18 +00:00
Bastien Nocera
0d98523b7b
wacom: Remove M_PI redefinition
2012-01-10 19:12:18 +00:00
Bastien Nocera
8516b6a1f9
wacom: Remove custom boolean type
2012-01-10 19:12:18 +00:00
Bastien Nocera
ff3fd96310
wacom: Remove custom strdup function
2012-01-10 18:32:54 +00:00
Jason Gerecke
39b2b3e469
wacom: Show calibration button for display tablets
...
https://bugzilla.gnome.org/show_bug.cgi?id=657423
2012-01-10 18:28:27 +00:00
Jason Gerecke
4fecb4c01d
wacom: Implement g-c-c calibration functionality
...
Adds and handles callback from the "Calibrate" button.
When clicked, we get the current calibration and feed
it in to the calibration utility. After it completes
we get back a modified calibration and an indication
of success. If it was successful we apply the changes,
if not, we ignore the modifed calibration.
https://bugzilla.gnome.org/show_bug.cgi?id=657423
2012-01-10 18:28:27 +00:00
Jason Gerecke
e50dbea195
wacom: Bring over files from xinput-calibrator and build utility
...
Copies over files from a trimmed version of xinput-calibrator and
modifies the Makefile.am to build the program as a seperate utility.
This is just to verify the functionality of the code when built with
gnome-control-center.
https://bugzilla.gnome.org/show_bug.cgi?id=657423
2012-01-10 18:26:55 +00:00
Bastien Nocera
a54c382377
wacom: Make test app fixed width
2012-01-10 14:32:51 +00:00
Bastien Nocera
9caefabf2d
wacom: Make closing the test app work
2012-01-10 14:27:43 +00:00
Bastien Nocera
5b277e7728
wacom: Avoid resizing when changing tablet
...
Or stylus. Otherwise the width of the panel is dependent on the
width of the tablet model label.
2012-01-10 11:07:16 +00:00
Bastien Nocera
ce05ad7281
wacom: Fix nav buttons not appearing correctly
...
Need to show the innards as well
2012-01-10 11:04:14 +00:00
Bastien Nocera
145079dc1e
wacom: Update from g-s-d
...
Re-adds the fake devices to the test application.
2012-01-10 10:48:34 +00:00
Bastien Nocera
1ecd6575e9
wacom: Fix startup warnings
...
g_variant_new_array() creates a floating reference and
g_settings_set_value() consumes it, so don't unref the GVariant
ourselves.
2012-01-10 10:28:03 +00:00
Jason Gerecke
fbe03baa43
wacom: Add trailing slash to schema path
...
Path names must end in a trailing slash. Without it, the varous
g_settings_* functions get confused about where to seperate the
key and value.
https://bugzilla.gnome.org/show_bug.cgi?id=667609
2012-01-10 09:59:14 +00:00
Florian Müllner
4cd7b6c6dc
.desktop: Drop prefix from X-GNOME-Keywords
...
The field has now been included in the spec, so use the standardized
name.
2011-12-19 16:26:40 +01:00
Bastien Nocera
1ffb3ffdc1
wacom: Update from gnome-settings-daemon
2011-12-14 18:55:43 +00:00
Bastien Nocera
eab81355a0
wacom: Update gsd-wacom-device.[ch] from g-s-d
...
Bringing us per-tablet and per-styli settings and support for multiple
styli.
2011-12-12 18:20:04 +00:00
Bastien Nocera
6296a0f522
wacom: Add gsd-input-helper.[ch] from g-s-d
2011-12-12 18:20:04 +00:00
Bastien Nocera
d5623b731e
wacom: Don't crash if created devices don't exist
2011-12-12 18:20:03 +00:00
Cosimo Cecchi
b39356f69c
wacom: add some spacing between the panel sections
...
https://bugzilla.gnome.org/show_bug.cgi?id=665079
2011-11-28 15:07:36 -05:00
Cosimo Cecchi
87297edb39
wacom: fix packing for the left handed switch section
...
https://bugzilla.gnome.org/show_bug.cgi?id=665079
2011-11-28 15:07:36 -05:00
Cosimo Cecchi
62e670963e
wacom: make sure description labels are right-aligned and dim
...
As in the mockups.
https://bugzilla.gnome.org/show_bug.cgi?id=665079
2011-11-28 15:07:36 -05:00
Cosimo Cecchi
5b86a93dfd
wacom: add the LINKED style class to the navigation widget
...
GTK+ defines a LINKED style class for linked containers now; set it on
the navigation widget so that the theme can render the buttons
connected.
https://bugzilla.gnome.org/show_bug.cgi?id=665079
2011-11-28 15:07:36 -05:00
Bastien Nocera
ce8186dba1
wacom: Add navigation button to navigate between styli
...
Looks a bit rough, but functionality is present.
2011-11-28 18:24:15 +00:00
Bastien Nocera
46a3b9697b
wacom: Add navigation button
2011-11-28 18:24:15 +00:00
Bastien Nocera
6255fccc8c
wacom: Remove unused finalize function
2011-11-28 18:24:15 +00:00
Bastien Nocera
da26a8e1cf
wacom: Add test program for the pages
...
No need to carry hardware around, cheers!
2011-11-25 17:04:05 +00:00
Bastien Nocera
54849a9e97
wacom: Only the stylus and eraser tools need to exist
...
And then again, not even sure about the eraser. But there
are devices we support that don't need the pad tool, such as the
Thinkpad X201 tablet.
2011-11-25 17:04:05 +00:00
Bastien Nocera
d17cc86ce9
wacom: Add Thinkpad X201 fake device
2011-11-25 17:04:05 +00:00
Bastien Nocera
b583f5c07f
wacom: Add Wacom BT fake device
2011-11-25 17:04:05 +00:00