Return to previous page | Return to menu | Go to next page
Structure
Keyboard device
typedef struct {
Uint8 id;
Uint8 ext;
Uint16 data;
Uint16 push;
Uint16 pull;
Uint8 cond;
Uint8 code;
} PerKeyBoard;
id Peripheral ID ext Extended data size data button Current data push button press data pull button pull data cond state data code Key code
Structure for referencing the keyboard device.
It is used when typecasting the system variable “Smpc_Peripheral” and referencing it as a keyboard device.
Reference: HARDWARE MANUAL vol.1 (SMPC)
PerKeyBoard