Commit graph

90 commits

Author SHA1 Message Date
Bastien Nocera
55c1a44dae wacom: Implement closing the mapping dialogue 2012-02-14 19:37:53 +00:00
Bastien Nocera
27ea364ea7 wacom: Hide elevator buttons until we can handle them 2012-02-14 19:37:53 +00:00
Bastien Nocera
f100c98488 wacom: Implement saving keyboard shortcuts 2012-02-14 19:37:53 +00:00
Bastien Nocera
9df8c7cf62 wacom: Add "pad" argument to cc_wacom_page_new() 2012-02-14 19:37:53 +00:00
Bastien Nocera
16b872c8dd wacom: Add stub button mapping dialogue 2012-02-14 15:51:54 +00:00
Bastien Nocera
ca1e72c9a3 wacom: Ignore puck devices 2012-01-31 15:04:24 +00:00
Bastien Nocera
81ad779084 wacom: Fix tablet layout problems for "screen" type 2012-01-30 17:02:26 +00:00
Bastien Nocera
decc5cf668 wacom: Make .ui files load the images properly
So it's easier to see what it looks like in glade.
2012-01-30 17:02:25 +00:00
Bastien Nocera
289d1e90c5 wacom: Implement switching to Display settings 2012-01-26 19:10:11 +00:00
Bastien Nocera
740cd38fa5 wacom: Hide tracking mode for screen tablets 2012-01-26 19:10:10 +00:00
Jason Gerecke
af2c94ced5 wacom: Specify monitor to use when calling run_calibration
Changes the signature of run_calibration to require the monitor
that calibration should take place on.

https://bugzilla.gnome.org/show_bug.cgi?id=657423
2012-01-18 23:42:23 +00:00
Jason Gerecke
611a91b91f wacom: Get monitor tablet has ben mapped to before calibrating
More precisely, this patch checks if the tablet *could* be mapped.
gsd_wacom_device_get_display_monitor has a side-effect of
automatically mapping the tablet if it is necessary and possible
to ensure that it *is* mapped.

If the tablet isn't and can't be mapped, calibration is pointless.

https://bugzilla.gnome.org/show_bug.cgi?id=657423
2012-01-18 23:41:18 +00:00
Bastien Nocera
b732da14d8 wacom: Split off the stylus page creation
Show configuration for multiple styli in the configuration UI.
2012-01-16 17:30:33 +00:00
Bastien Nocera
a771f350d6 wacom: Remove unused definitions 2012-01-16 17:30:33 +00:00
Bastien Nocera
425b5040ea wacom: Use symbolic name for click threshold 2012-01-13 17:48:08 +00:00
Bastien Nocera
0905cb347a wacom: Add FIXME for monitor placement 2012-01-12 19:00:08 +00:00
Bastien Nocera
9ba2c986e7 wacom: Update for new calibrator API 2012-01-12 18:57:55 +00:00
Bastien Nocera
6c304370eb wacom: Remove unnecessary duplication 2012-01-12 15:26:16 +00:00
Bastien Nocera
f256fe0096 wacom: Identation fixes 2012-01-12 15:23:53 +00:00
Bastien Nocera
13af3b18a2 wacom: Small coding style fixes 2012-01-12 15:22:04 +00:00
Bastien Nocera
1638319802 wacom: Fix wrong gsize print format 2012-01-12 13:53:45 +00:00
Bastien Nocera
d099ded276 wacom: Update for calibration API change 2012-01-12 13:53:45 +00:00
Bastien Nocera
815635a3c2 wacom: Simplify run_calibration() 2012-01-10 20:16:33 +00:00
Bastien Nocera
e70502cc3b wacom: Use updated _get_area() API 2012-01-10 19:55:01 +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
7b82472645 wacom: s/axys/axis/ 2012-01-10 19:19:24 +00:00
Bastien Nocera
8516b6a1f9 wacom: Remove custom boolean type 2012-01-10 19:12:18 +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
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
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
6255fccc8c wacom: Remove unused finalize function 2011-11-28 18:24:15 +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
2e989dbe96 wacom: Use icon-name from tablet and stylus 2011-11-25 17:04:04 +00:00
Bastien Nocera
2baac2b28e wacom: Follow the GsdWacomDevice reversible property 2011-11-24 19:15:14 +00:00
Bastien Nocera
12f0e30dcb wacom: Get the tablet name from the device 2011-11-24 19:15:13 +00:00
Bastien Nocera
8f6fc0e317 wacom: Create CcWacomPage from GsdWacomDevices
Instead of hard-coding the location of settings.
2011-11-24 19:15:13 +00:00
Bastien Nocera
46bfcd1bc3 wacom: Split out the tablet page
So we can reuse it for separate tablet configurations.
2011-11-24 19:15:13 +00:00