sandbox
Loading...
Searching...
No Matches
sbx::devices::input Class Reference

Static Public Member Functions

static auto is_key_pressed (key key) -> bool
 
static auto is_key_down (key key) -> bool
 
static auto is_key_released (key key) -> bool
 
static auto is_mouse_button_pressed (mouse_button button) -> bool
 
static auto is_mouse_button_down (mouse_button button) -> bool
 
static auto is_mouse_button_released (mouse_button button) -> bool
 
static auto mouse_position () -> math::vector2
 
static auto mouse_window_position () -> math::vector2
 
static auto scroll_delta () -> math::vector2
 
static auto set_active_viewport (const math::vector2 &origin, const math::vector2 &size) -> void
 
static auto active_viewport_origin () -> math::vector2
 
static auto active_viewport_size () -> math::vector2
 
static auto set_scene_input_active (bool active) -> void
 
static auto is_scene_input_active () -> bool
 

Friends

class devices_module
 
class window
 

The documentation for this class was generated from the following files: