Numworks Epsilon  1.4.1
Graphing Calculator Operating System
Ion::Keyboard Namespace Reference

Namespaces

 Device
 

Classes

class  State
 

Enumerations

enum  Key : uint8_t {
  Key::A1 =0, Key::A2 =1, Key::A3 =2, Key::A4 =3,
  Key::A5 =4, Key::A6 =5, Key::B1 =6, Key::B2 =7,
  Key::C1 =12, Key::C2 =13, Key::C3 =14, Key::C4 =15,
  Key::C5 =16, Key::C6 =17, Key::D1 =18, Key::D2 =19,
  Key::D3 =20, Key::D4 =21, Key::D5 =22, Key::D6 =23,
  Key::E1 =24, Key::E2 =25, Key::E3 =26, Key::E4 =27,
  Key::E5 =28, Key::E6 =29, Key::F1 =30, Key::F2 =31,
  Key::F3 =32, Key::F4 =33, Key::F5 =34, Key::G1 =36,
  Key::G2 =37, Key::G3 =38, Key::G4 =39, Key::G5 =40,
  Key::H1 =42, Key::H2 =43, Key::H3 =44, Key::H4 =45,
  Key::H5 =46, Key::I1 =48, Key::I2 =49, Key::I3 =50,
  Key::I4 =51, Key::I5 =52
}
 

Functions

State scan ()
 

Variables

constexpr Key ValidKeys []
 
constexpr int NumberOfKeys = 54
 
constexpr int NumberOfValidKeys = 46
 

Enumeration Type Documentation

◆ Key

enum Ion::Keyboard::Key : uint8_t
strong
Enumerator
A1 
A2 
A3 
A4 
A5 
A6 
B1 
B2 
C1 
C2 
C3 
C4 
C5 
C6 
D1 
D2 
D3 
D4 
D5 
D6 
E1 
E2 
E3 
E4 
E5 
E6 
F1 
F2 
F3 
F4 
F5 
G1 
G2 
G3 
G4 
G5 
H1 
H2 
H3 
H4 
H5 
I1 
I2 
I3 
I4 
I5 

Definition at line 12 of file keyboard.h.

Function Documentation

◆ scan()

Ion::Keyboard::State Ion::Keyboard::scan ( )

Definition at line 50 of file keyboard.cpp.

Variable Documentation

◆ NumberOfKeys

constexpr int Ion::Keyboard::NumberOfKeys = 54

Definition at line 33 of file keyboard.h.

◆ NumberOfValidKeys

constexpr int Ion::Keyboard::NumberOfValidKeys = 46

Definition at line 34 of file keyboard.h.

◆ ValidKeys

constexpr Key Ion::Keyboard::ValidKeys[]
Initial value:
= {
Key::A1, Key::A2, Key::A3, Key::A4, Key::A5, Key::A6, Key::B1, Key::B2,
Key::C1, Key::C2, Key::C3, Key::C4, Key::C5, Key::C6, Key::D1, Key::D2,
Key::D3, Key::D4, Key::D5, Key::D6, Key::E1, Key::E2, Key::E3, Key::E4,
Key::E5, Key::E6, Key::F1, Key::F2, Key::F3, Key::F4, Key::F5, Key::G1,
Key::G2, Key::G3, Key::G4, Key::G5, Key::H1, Key::H2, Key::H3, Key::H4,
Key::H5, Key::I1, Key::I2, Key::I3, Key::I4, Key::I5,
}

Definition at line 24 of file keyboard.h.