[SOLVED] EV_KEY KEY_POWER not showing.
-
Hi,
I want to use special controller with my program on linux, and one of buttons is KEY_POWER, but when i press that button nothing is registered in Keys.onPressed.
Output of evtest on my input event is:
@Event: time 1409863923.712355, type 4 (EV_MSC), code 4 (MSC_SCAN), value 10081
Event: time 1409863923.712355, type 1 (EV_KEY), code 116 (KEY_POWER), value 1
Event: time 1409863923.712355, -------------- EV_SYN ------------@How do I catch that event in qt?
I am using arch linux with latest package.
EDIT: just found out this might be solved "bug":https://bugreports.qt-project.org/browse/QTBUG-40840?page=com.atlassian.streams.streams-jira-plugin:activity-stream-issue-tab
My build was was before "patch":https://qt.gitorious.org/qt/qtbase/commit/c0429719c1a28bb1a0d88862b3a8c84525ee9a48 , so i will try to build from source, sorry for inconvenience.
EDIT: works after patch