Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Problem in detection of special keys...
aekam last edited by
I have written simple program to detect key strokes.
I'm able to detect normal keyboard keys but not the special function keys like, volume up, volume down, mute etc...
i received key value  for all of this keys, vol+ , vol-  and mute ...
is there anything else i need to do.???
console.log("key pressed: " + event.key);
event.accepted = true;
Probably you need to use OS-specific APIs... or test with Qt5 - there might have been a change there (definitely was for mouse buttons).