Fx2D
A C++20 2D rigid-body physics engine
Loading...
Searching...
No Matches
Input.h File Reference
#include <array>
#include <cstddef>
#include <cstdint>
#include "Fx2D/Math.h"
+ Include dependency graph for Input.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  FxInput
 Input state read by gameplay code or injected by a headless producer. More...
 

Enumerations

enum class  FxKey : uint8_t {
  Unknown = 0 , A , B , C ,
  D , E , F , G ,
  H , I , J , K ,
  L , M , N , O ,
  P , Q , R , S ,
  T , U , V , W ,
  X , Y , Z , Num0 ,
  Num1 , Num2 , Num3 , Num4 ,
  Num5 , Num6 , Num7 , Num8 ,
  Num9 , Left , Right , Up ,
  Down , Space , Enter , Escape ,
  Tab , Backspace , Delete , LeftShift ,
  RightShift , LeftCtrl , RightCtrl , LeftAlt ,
  RightAlt , F1 , F2 , F3 ,
  F4 , F5 , F6 , F7 ,
  F8 , F9 , F10 , F11 ,
  F12 , Count
}
 
enum class  FxMouseButton : uint8_t { Left = 0 , Right , Middle , Count }
 

Enumeration Type Documentation

◆ FxKey

enum class FxKey : uint8_t
strong
Enumerator
Unknown 
A 
B 
C 
D 
E 
F 
G 
H 
I 
J 
K 
L 
M 
N 
O 
P 
Q 
R 
S 
T 
U 
V 
W 
X 
Y 
Z 
Num0 
Num1 
Num2 
Num3 
Num4 
Num5 
Num6 
Num7 
Num8 
Num9 
Left 
Right 
Up 
Down 
Space 
Enter 
Escape 
Tab 
Backspace 
Delete 
LeftShift 
RightShift 
LeftCtrl 
RightCtrl 
LeftAlt 
RightAlt 
F1 
F2 
F3 
F4 
F5 
F6 
F7 
F8 
F9 
F10 
F11 
F12 
Count 

Definition at line 13 of file Input.h.

◆ FxMouseButton

enum class FxMouseButton : uint8_t
strong
Enumerator
Left 
Right 
Middle 
Count 

Definition at line 26 of file Input.h.