Serial Wombat Arduino Library
Loading...
Searching...
No Matches
SerialWombatPS2Keyboard.h File Reference
#include <stdint.h>
#include "Stream.h"
#include "SerialWombat.h"
Include dependency graph for SerialWombatPS2Keyboard.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  SerialWombatPS2Keyboard
 A class for the Serial Wombat SW18AB chips which recieves input from IBM PS2 Keyboards. More...
 

Enumerations

enum  PS2KeyboardScanCode {
  SCANCODE_OPENSINGLEQUOTE = 0x0E , SCANCODE_1 = 0x16 , SCANCODE_2 = 0x1E , SCANCODE_3 = 0x26 ,
  SCANCODE_4 = 0x25 , SCANCODE_5 = 0x2E , SCANCODE_6 = 0x36 , SCANCODE_7 = 0x3D ,
  SCANCODE_8 = 0x3E , SCANCODE_9 = 0x46 , SCANCODE_0 = 0x45 , SCANCODE_DASH = 0x4E ,
  SCANCODE_EQUALS = 0x55 , SCANCODE_BACKSPACE = 0x66 , SCANCODE_TAB = 0x0D , SCANCODE_Q = 0x15 ,
  SCANCODE_W = 0x1D , SCANCODE_E = 0x24 , SCANCODE_R = 0x2D , SCANCODE_T = 0x2C ,
  SCANCODE_Y = 0x35 , SCANCODE_U = 0x3C , SCANCODE_I = 0x43 , SCANCODE_O = 0x44 ,
  SCANCODE_P = 0x4D , SCANCODE_LEFTBRACKET = 0x54 , SCANCODE_RIGHTBRACKET = 0x5B , SCANCODE_CAPSLOCK = 0x58 ,
  SCANCODE_A = 0x1C , SCANCODE_S = 0x1B , SCANCODE_D = 0x23 , SCANCODE_G = 0x34 ,
  SCANCODE_H = 0x33 , SCANCODE_J = 0x3B , SCANCODE_K = 0x42 , SCANCODE_L = 0x4B ,
  SCANCODE_SEMICOLON = 0x4C , SCANCODE_QUOTE = 0x52 , SCANCODE_ENTER = 0x5A , SCANCODE_LEFTSHIFT = 0x12 ,
  SCANCODE_Z = 0x1A , SCANCODE_X = 0x22 , SCANCODE_C = 0x21 , SCANCODE_V = 0x2A ,
  SCANCODE_B = 0x32 , SCANCODE_N = 0x31 , SCANCODE_M = 0x3A , SCANCODE_COMMA = 0x41 ,
  SCANCODE_PERIOD = 0x49 , SCANCODE_SLASH = 0x4A , SCANCODE_RIGHTSHIFT = 0x59 , SCANCODE_LEFTCTRL = 0x14 ,
  SCANCODE_LEFTALT = 0x11 , SCANCODE_SPACEBAR = 0x29 , SCANCODE_RIGHTALT = 0x91 , SCANCODE_RIGHTCTRL = 0x94 ,
  SCANCODE_INSERT = 0xF0 , SCANCODE_DELETE = 0xF1 , SCANCODE_LEFTARROW = 0xEB , SCANCODE_HOME = 0xEC ,
  SCANCODE_END = 0xE9 , SCANCODE_UPARROW = 0xF5 , SCANCODE_DOWNARROW = 0xF2 , SCANCODE_PAGEUP = 0xFD ,
  SCANCODE_PAGEDOWN = 0xFA , SCANCODE_RIGHTARROW = 0xF4 , SCANCODE_NUMLOCK = 0x76 , SCANCODE_KP7 = 0x6C ,
  SCANCODE_KP4 = 0x6B , SCANCODE_KP1 = 0x69 , SCANCODE_KPSLASH = 0xCA , SCANCODE_KP8 = 0x75 ,
  SCANCODE_KP5 = 0x73 , SCANCODE_KP2 = 0x72 , SCANCODE_KP0 = 0x70 , SCANCODE_KPASTERISK = 0x7C ,
  SCANCODE_KP9 = 0x7D , SCANCODE_KP6 = 0x74 , SCANCODE_KP3 = 0x7A , SCANCODE_KPPERIOD = 0x71 ,
  SCANCODE_KPMINUS = 0x7B , SCANCODE_KPPLUS = 0x79 , SCANCODE_KPENTER = 0xDA , SCANCODE_ESC = 0x76 ,
  SCANCODE_F1 = 0x05 , SCANCODE_F2 = 0x06 , SCANCODE_F3 = 0x04 , SCANCODE_F4 = 0x0C ,
  SCANCODE_F5 = 0x03 , SCANCODE_F6 = 0x0B , SCANCODE_F7 = 0x83 , SCANCODE_F8 = 0x0A ,
  SCANCODE_F9 = 0x01 , SCANCODE_F10 = 0x09 , SCANCODE_F11 = 0x78 , SCANCODE_F12 = 0x07 ,
  SCANCODE_PRINTSCREEN = 0x92 , SCANCODE_SCROLLLOCK = 0x7E , SCANCODE_BACKSLASH = 0x5D
}
 

Enumeration Type Documentation

◆ PS2KeyboardScanCode

Enumerator
SCANCODE_OPENSINGLEQUOTE 
SCANCODE_1 
SCANCODE_2 
SCANCODE_3 
SCANCODE_4 
SCANCODE_5 
SCANCODE_6 
SCANCODE_7 
SCANCODE_8 
SCANCODE_9 
SCANCODE_0 
SCANCODE_DASH 
SCANCODE_EQUALS 
SCANCODE_BACKSPACE 
SCANCODE_TAB 
SCANCODE_Q 
SCANCODE_W 
SCANCODE_E 
SCANCODE_R 
SCANCODE_T 
SCANCODE_Y 
SCANCODE_U 
SCANCODE_I 
SCANCODE_O 
SCANCODE_P 
SCANCODE_LEFTBRACKET 
SCANCODE_RIGHTBRACKET 
SCANCODE_CAPSLOCK 
SCANCODE_A 
SCANCODE_S 
SCANCODE_D 
SCANCODE_G 
SCANCODE_H 
SCANCODE_J 
SCANCODE_K 
SCANCODE_L 
SCANCODE_SEMICOLON 
SCANCODE_QUOTE 
SCANCODE_ENTER 
SCANCODE_LEFTSHIFT 
SCANCODE_Z 
SCANCODE_X 
SCANCODE_C 
SCANCODE_V 
SCANCODE_B 
SCANCODE_N 
SCANCODE_M 
SCANCODE_COMMA 
SCANCODE_PERIOD 
SCANCODE_SLASH 
SCANCODE_RIGHTSHIFT 
SCANCODE_LEFTCTRL 
SCANCODE_LEFTALT 
SCANCODE_SPACEBAR 
SCANCODE_RIGHTALT 
SCANCODE_RIGHTCTRL 
SCANCODE_INSERT 
SCANCODE_DELETE 
SCANCODE_LEFTARROW 
SCANCODE_HOME 
SCANCODE_END 
SCANCODE_UPARROW 
SCANCODE_DOWNARROW 
SCANCODE_PAGEUP 
SCANCODE_PAGEDOWN 
SCANCODE_RIGHTARROW 
SCANCODE_NUMLOCK 
SCANCODE_KP7 
SCANCODE_KP4 
SCANCODE_KP1 
SCANCODE_KPSLASH 
SCANCODE_KP8 
SCANCODE_KP5 
SCANCODE_KP2 
SCANCODE_KP0 
SCANCODE_KPASTERISK 
SCANCODE_KP9 
SCANCODE_KP6 
SCANCODE_KP3 
SCANCODE_KPPERIOD 
SCANCODE_KPMINUS 
SCANCODE_KPPLUS 
SCANCODE_KPENTER 
SCANCODE_ESC 
SCANCODE_F1 
SCANCODE_F2 
SCANCODE_F3 
SCANCODE_F4 
SCANCODE_F5 
SCANCODE_F6 
SCANCODE_F7 
SCANCODE_F8 
SCANCODE_F9 
SCANCODE_F10 
SCANCODE_F11 
SCANCODE_F12 
SCANCODE_PRINTSCREEN 
SCANCODE_SCROLLLOCK 
SCANCODE_BACKSLASH 

Definition at line 35 of file SerialWombatPS2Keyboard.h.