Classes | Typedefs | Enumerations
ime::input Namespace Reference

Container for all input related classes and functions. More...

Classes

class  InputManager
 Manages keyboard and mouse inputs. More...
 
class  Joystick
 Give access to the state of the joysticks. More...
 
class  Keyboard
 Captures keyboard inputs from the user. More...
 
class  Mouse
 Captures mouse inputs from the user. More...
 

Typedefs

using KeybindAction = Callback<>
 An action performed when a key bind is triggered. More...
 

Enumerations

enum class  KeyBindType { KeyUp , KeyDown , KeyHeld }
 Action triggers for key binds. More...
 
enum class  InputType { Keyboard , Mouse , Joystick }
 Type of input. More...
 
enum class  JoystickEvent {
  Connect , Disconnect , ButtonPress , ButtonRelease ,
  ButtonHeld , AxisMove
}
 Joystick events. More...
 

Detailed Description

Container for all input related classes and functions.

Typedef Documentation

◆ KeybindAction

An action performed when a key bind is triggered.

Definition at line 45 of file InputManager.h.

Enumeration Type Documentation

◆ InputType

enum class ime::input::InputType
strong

Type of input.

Enumerator
Keyboard 

Keyboard.

Mouse 

Mouse.

Joystick 

Joystick.

Definition at line 50 of file InputManager.h.

◆ JoystickEvent

enum class ime::input::JoystickEvent
strong

Joystick events.

Enumerator
Connect 

Fired when a joystick is connected.

Disconnect 

Fired when a joystick is disconnected.

ButtonPress 

Fired when a joystick button is pressed.

ButtonRelease 

Fired when a joystick button is released.

ButtonHeld 

Fired when a joystick button is held.

AxisMove 

Fired when the axis of a joystick is moved.

Definition at line 38 of file Joystick.h.

◆ KeyBindType

enum class ime::input::KeyBindType
strong

Action triggers for key binds.

Enumerator
KeyUp 

The action is triggered when a depressed/held key is released.

KeyDown 

The action is triggered when a key is depressed.

KeyHeld 

The action is triggered when a depressed key remains held.

Definition at line 39 of file InputManager.h.