left_right_click activity: Check for mouse support in a device to enable/disable the activity
Open, LowPublic

Description

The "left right click training" activity is suitable for mouse attached devices, so it should be enabled only on when the device running GCompris has a mouse available. This can be done using QInputDevice but is only available in Qt6.

Documentation for QInputDevice - https://doc.qt.io/qt-6/qinputdevice.html
Source code - https://code.woboq.org/qt6/qtbase/src/gui/kernel/qinputdevice.h.html#63

Details about Input Event updates in Qt6: https://www.qt.io/blog/input-events-in-qt-6

samarthraj11 triaged this task as Low priority.
jjazeix renamed this task from Check for mouse support in a device to left_right_click activity: Check for mouse support in a device to enable/disable the activity.Apr 13 2022, 8:43 PM
jjazeix updated the task description. (Show Details)
hadron updated the task description. (Show Details)Apr 18 2022, 1:33 PM
hadron updated the task description. (Show Details)
hadron claimed this task.Mar 15 2024, 9:33 AM