forked from eden-emu/eden
input_common: Add VibrationDevice and VibrationDeviceFactory
A vibration device is an input device that returns an unsigned byte as status. It represents whether the vibration device supports vibration or not. If the status returns 1, it supports vibration. Otherwise, it does not support vibration.
This commit is contained in:
parent
38110dd485
commit
e9e1876e82
19 changed files with 327 additions and 101 deletions
|
@ -24,6 +24,9 @@ public:
|
|||
|
||||
void ApplyConfiguration();
|
||||
|
||||
static void SetVibrationDevices(std::size_t player_index);
|
||||
static void SetAllVibrationDevices();
|
||||
|
||||
private:
|
||||
void changeEvent(QEvent* event) override;
|
||||
void RetranslateUI();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue