mirror of
https://github.com/brl/mutter.git
synced 2025-06-14 01:09:30 +00:00
device: Add keys and axes accessors
Allow retrieving the number of keys and axes, since we provide the API to iterate over them both.
This commit is contained in:
@ -258,8 +258,7 @@ translate_axes (ClutterInputDeviceX11 *device_x11,
|
||||
{
|
||||
ClutterInputAxis axis;
|
||||
|
||||
axis = _clutter_input_device_get_axis (device, i);
|
||||
|
||||
axis = clutter_input_device_get_axis (device, i);
|
||||
switch (axis)
|
||||
{
|
||||
case CLUTTER_INPUT_AXIS_X:
|
||||
|
Reference in New Issue
Block a user