载入中...
搜索中...
未找到
Keyboard.cpp
浏览该文件的文档.
void setKeyRepeat(bool enable) override
Whether held keys emit repeated keypressed events.
Definition Keyboard.cpp:22
void setTextInput(bool enable) override
Enables or disables text-input / IME composition.
Definition Keyboard.cpp:80
bool isScancodeDown(const std::string &scancode) const override
True if any of the named physical scancodes is currently down.
Definition Keyboard.cpp:47
std::string getScancodeFromKey(const std::string &key) const override
Physical scancode name for a layout-aware key (SDL names).
Definition Keyboard.cpp:71
bool hasScreenKeyboard() const override
True when the platform exposes an on-screen keyboard.
Definition Keyboard.cpp:105
std::string getKeyFromScancode(const std::string &scancode) const override
Layout-aware key name for a physical scancode (SDL names).
Definition Keyboard.cpp:62
bool hasKeyRepeat() const override
True when key-repeat events are enabled.
Definition Keyboard.cpp:26
bool isDown(const std::string &key) const override
True if any of the named keys is currently down.
Definition Keyboard.cpp:30
Definition EventSink.cpp:15
void bindKeyboardEventSinkOwner(eve::keyboard::Keyboard *owner) noexcept
Bind the live Keyboard module into the SDL event sink. @ownership Borrowed; cleared when the Keyboard...
Definition EventSink.cpp:69