Carlos Garnacho
df48b94889
clutter: Add API to retrieve the physical size of absolute devices
...
This will be used in upper layers to match abs input devices (touchscreens,
tablets) to the corresponding output.
2018-12-06 14:44:46 +00:00
Jonas Ådahl
11f8b12a9d
clutter: Unconditionally include clutter-build-config.h
2018-11-06 17:17:36 +01:00
Carlos Garnacho
328e3f8f4f
clutter: Extend mapping-mode to pen/eraser devices
...
This just used to apply to CLUTTER_TABLET_DEVICE on wayland, allow using
it on pen/eraser devices (as X11 sees tablets) for consistency.
https://bugzilla.gnome.org/show_bug.cgi?id=784402
2017-07-12 23:43:23 +02:00
Carlos Garnacho
e081bb3921
clutter: Add clutter_input_device_is_grouped call/vfunc
...
This will be used to query grouped devices (eg. tablets and pads)
https://bugzilla.gnome.org/show_bug.cgi?id=779986
2017-03-13 19:34:10 +01:00
Carlos Garnacho
d6fc41b73e
clutter: Add function to find out the number of modes for a pad group
...
This is obtained in backend-dependent ways in the upper layers, seems
better to let ClutterInputDevice provide this information.
https://bugzilla.gnome.org/show_bug.cgi?id=771098
2017-02-10 20:11:19 +01:00
Carlos Garnacho
9d38ffa6e3
clutter: Add functions to find out mode switch buttons, and their group
...
This is done in the upper layers through backend-dependent ways, seems
better to let ClutterInputDevice provide this information.
https://bugzilla.gnome.org/show_bug.cgi?id=771098
2017-02-10 20:11:19 +01:00
Carlos Garnacho
9587a60da4
clutter: Add clutter_input_device_[gs]et_mapping()
...
This function call only applies to tablets, and thus will error
out unless it's called with CLUTTER_TABLET_DEVICEs. This will
allow setting absolute/relative mapping on those on the fly, as
this is optional.
2016-07-22 13:31:09 +02:00
Carlos Garnacho
e7e62ee4a4
clutter: Add clutter_input_device_get_device_node()
...
This function is meant to return the device node path (eg. /dev/input/...),
which will be useful to wire up a few things.
2016-07-22 13:31:09 +02:00
Carlos Garnacho
81736b1dea
clutter: Add ::n-rings and ::n-strips property to ClutterInputDevice
...
This will only be practical for pads (and maybe generic buttonsets in
the future?), we just need to know the number as the events will also
contain a number as the identificator.
2016-07-22 13:31:09 +02:00
Jonas Ådahl
bf71cb2e3c
Don't use config.h in clutter and cogl
...
In cogl use cogl-config.h and in clutter use clutter-build-config.h. We
can't use clutter-config.h in clutter because its already used and
installed.
https://bugzilla.gnome.org/show_bug.cgi?id=768976
2016-07-20 14:23:48 +08:00
Carlos Garnacho
eafa04230b
main: Allow updating device axes from the current tool
...
This way devices are ensured the proper axis status at the time
of processing the events.
2016-05-03 13:05:06 +02:00
Carlos Garnacho
8b2c888368
input-device: Add ClutterInputDeviceTool
...
This is an unique opaque struct that identifies a given tool of
a given device.
2016-05-03 13:05:06 +02:00
Carlos Garnacho
40a5eff5d4
input-device: Disconnect signals on actors where the device has a cursor
...
Otherwise the signals are left dangling if the device is removed, causing
possible invalid memory accesses afterwards.
2016-05-03 13:05:06 +02:00
Rui Matos
9710e4a8c0
move everything into a clutter/ directory
2016-04-12 20:04:26 +02:00