Mir
Functions
mir_input_device_api.cpp File Reference
#include "mir_toolkit/mir_input_device.h"
#include "mir/input/input_devices.h"
#include "mir/require.h"
Include dependency graph for mir_input_device_api.cpp:

Functions

size_t mir_input_configuration_count (MirInputConfig const *config)
 
size_t mir_input_config_device_count (MirInputConfig const *devices)
 Retrieve the number of available input devices. More...
 
MirInputDevicemir_input_config_get_mutable_device (MirInputConfig *config, size_t index)
 Retrieve the input device at given index. More...
 
MirInputDevicemir_input_config_get_mutable_device_by_id (MirInputConfig *config, MirInputDeviceId id)
 Retrieve the input device by id. More...
 
MirInputDevice const * mir_input_config_get_device (MirInputConfig const *config, size_t index)
 Retrieve the input device at given index. More...
 
MirInputDevice const * mir_input_config_get_device_by_id (MirInputConfig const *config, MirInputDeviceId id)
 Retrieve the input device by id. More...
 
uint32_t mir_input_device_get_capabilities (MirInputDevice const *device)
 Retrieve the capabilities of the input device at the given index. More...
 
MirInputDeviceId mir_input_device_get_id (MirInputDevice const *device)
 Retrieve the device id of the input device. More...
 
char const * mir_input_device_get_name (MirInputDevice const *device)
 Retrieve the name of the input device. More...
 
char const * mir_input_device_get_unique_id (MirInputDevice const *device)
 Retrieve the unique id of the input device. More...
 

Function Documentation

size_t mir_input_configuration_count ( MirInputConfig const *  config)

Copyright © 2012-2015 Canonical Ltd.
Generated on Thu Sep 8 14:50:19 UTC 2016