mirror of
https://github.com/lubosz/overte.git
synced 2025-04-19 16:44:04 +02:00
Update keyboard injector to new interface
This commit is contained in:
parent
d2a1bb4806
commit
7f910a38e3
1 changed files with 1 additions and 1 deletions
|
@ -485,7 +485,7 @@ void Keyboard::handleTriggerBegin(const OverlayID& overlayID, const PointerEvent
|
|||
audioOptions.position = keyWorldPosition;
|
||||
audioOptions.volume = 0.1f;
|
||||
|
||||
AudioInjector::playSound(_keySound->getByteArray(), audioOptions);
|
||||
AudioInjector::playSoundAndDelete(_keySound, audioOptions);
|
||||
|
||||
int scanCode = key.getScanCode(_capsEnabled);
|
||||
QString keyString = key.getKeyString(_capsEnabled);
|
||||
|
|
Loading…
Reference in a new issue