[App] Add notifications for hotkeys & XNotifyQueueUI
This commit is contained in:
@@ -140,6 +140,8 @@ X_RESULT InputSystem::GetKeystroke(uint32_t user_index, uint32_t flags,
|
||||
return any_connected ? X_ERROR_EMPTY : X_ERROR_DEVICE_NOT_CONNECTED;
|
||||
}
|
||||
|
||||
bool InputSystem::GetVibrationCvar() { return cvars::vibration; }
|
||||
|
||||
void InputSystem::ToggleVibration() {
|
||||
OVERRIDE_bool(vibration, !cvars::vibration);
|
||||
// Send instant update to vibration state to prevent awaiting for next tick.
|
||||
|
||||
@@ -47,6 +47,8 @@ class InputSystem {
|
||||
X_RESULT GetKeystroke(uint32_t user_index, uint32_t flags,
|
||||
X_INPUT_KEYSTROKE* out_keystroke);
|
||||
|
||||
bool GetVibrationCvar();
|
||||
|
||||
void ToggleVibration();
|
||||
|
||||
const std::bitset<max_allowed_controllers> GetConnectedSlots() const {
|
||||
|
||||
Reference in New Issue
Block a user