8#ifndef GALAXY_INPUT_KEYBOARD_HPP_
9#define GALAXY_INPUT_KEYBOARD_HPP_
13#include <SDL3/SDL_keyboard.h>
41 void begin_text_input(const SDL_TextInputType input_type, const SDL_Capitalization capitals, const
bool multiline) const noexcept;
111 bool m_text_input_enabled;
120 void enable_sticky_keys() const;
125 void disable_sticky_keys() const;
133 bool is_text_input_enabled() const;
143 int get_scancode(const input::Keys key) const;
153 std::string get_key_name(const input::Keys key) const;
163 std::string get_scancode_name(const int scancode) const;*/
Physical keyboard device and state management.
void clear_state() const noexcept
Will clear any existing keyboard state.
void end_text_input() const noexcept
Disable text input.
bool onscreen_keyboard_active() const noexcept
Check if onscreen keyboard is shown.
~Keyboard() noexcept
Destructor.
bool has_keyboard() const noexcept
Check if there is a keyboard connected.
void begin_text_input(const SDL_TextInputType input_type, const SDL_Capitalization capitals, const bool multiline) const noexcept
Enable window to begin processing text input.
bool has_onscreen_keyboard() const noexcept
Check if an onscreen keyboard is supported.
Binds the mouse to the window.
RAII Window. Handles events, input & display.