diff options
Diffstat (limited to 'src/devices/IKeyboard.cpp')
| -rw-r--r-- | src/devices/IKeyboard.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/devices/IKeyboard.cpp b/src/devices/IKeyboard.cpp index 7e6320e2..20292176 100644 --- a/src/devices/IKeyboard.cpp +++ b/src/devices/IKeyboard.cpp @@ -447,3 +447,8 @@ bool IKeyboard::getPressed(uint32_t key) { bool IKeyboard::shareStates() { return m_shareStates; } + +void IKeyboard::setShareStatesAuto(bool shareStates) { + if (m_shareStatesAuto) + m_shareStates = shareStates; +} |
