Currently i have this gtk2 code:
GList *input_devices = gdk_devices_list();
while(input_devices)
{
GdkDevice *device = (GdkDevice*)input_devices->data;
for(int i = 0; i < gdk_device_get_n_axes(device); i++)
{
GdkDeviceAxis* axis = &device->axes[i];
printf("[%f .. %f]\n", axis->min, axis->max);
}
input_devices = g_list_next(input_devices);
}
I'm trying to port that to gtk3, and i do not understand how to get axis minimal and maximal values.
Is it even possible with current GDK3 API?