VGamepad PC
The PC app for the virtual game controller.
Loading...
Searching...
No Matches
buttoninputbox.hpp File Reference
#include <QEvent>
#include <QKeyEvent>
#include <QLineEdit>
#include <QMouseEvent>
#include <Qt>
Include dependency graph for buttoninputbox.hpp:
This graph shows which files directly or indirectly include this file:

Classes

class  ButtonInputBox
 A QLineEdit subclass for capturing keyboard and mouse input for key mapping. More...

Typedefs

using KeyCodeType = quint32
 Platform-native key code type.

Typedef Documentation

◆ KeyCodeType

using KeyCodeType = quint32

Platform-native key code type.

On Windows: Windows virtual key codes (VK_*) from QKeyEvent::nativeVirtualKey() On Linux: evdev keycodes (KEY_*) from QKeyEvent::nativeScanCode()

See also
ButtonInputBox::keyPressEvent() for details on platform differences.