Jo Engine  2024.04.28
Jo Sega Saturn Engine
Macros | Enumerations | Functions | Variables
keyboard.h File Reference

Jo Engine Keyboard function prototypes. More...

Go to the source code of this file.

Macros

#define __JO_KEYBOARD_MAPPING_SIZE
 Keyboard mapping size (internal engine usage) More...
 

Enumerations

enum  jo_keyboard_special_key {
  JO_KEYBOARD_NO_SPECIAL_KEY, JO_KEYBOARD_RIGHT, JO_KEYBOARD_LEFT, JO_KEYBOARD_DOWN,
  JO_KEYBOARD_UP, JO_KEYBOARD_ESCAPE, JO_KEYBOARD_ENTER, JO_KEYBOARD_BACKSPACE,
  JO_KEYBOARD_TAB, JO_KEYBOARD_DELETE, JO_KEYBOARD_HOME, JO_KEYBOARD_END,
  JO_KEYBOARD_F1, JO_KEYBOARD_F2, JO_KEYBOARD_F3, JO_KEYBOARD_F4,
  JO_KEYBOARD_F5, JO_KEYBOARD_F6, JO_KEYBOARD_F7, JO_KEYBOARD_F8,
  JO_KEYBOARD_F9, JO_KEYBOARD_F10, JO_KEYBOARD_F11, JO_KEYBOARD_F12
}
 Keyboard special keys. More...
 

Functions

jo_keyboard_special_key jo_keyboard_get_special_key (void)
 
static __jo_force_inline unsigned char jo_keyboard_get_char (void)
 

Variables

char __internal_keyboard_normal_mapping []
 Keyboard mapping (internal engine usage) More...
 
char __internal_keyboard_caps_lock_mapping []
 Keyboard mapping (internal engine usage) More...
 

Detailed Description

Jo Engine Keyboard function prototypes.

Author
Johannes Fetz
Bug:
No known bugs.

Macro Definition Documentation

◆ __JO_KEYBOARD_MAPPING_SIZE

#define __JO_KEYBOARD_MAPPING_SIZE

Keyboard mapping size (internal engine usage)

Warning
MC Hammer: don't touch this

Enumeration Type Documentation

◆ jo_keyboard_special_key

Keyboard special keys.

Enumerator
JO_KEYBOARD_NO_SPECIAL_KEY 
JO_KEYBOARD_RIGHT 
JO_KEYBOARD_LEFT 
JO_KEYBOARD_DOWN 
JO_KEYBOARD_UP 
JO_KEYBOARD_ESCAPE 
JO_KEYBOARD_ENTER 
JO_KEYBOARD_BACKSPACE 
JO_KEYBOARD_TAB 
JO_KEYBOARD_DELETE 
JO_KEYBOARD_HOME 
JO_KEYBOARD_END 
JO_KEYBOARD_F1 
JO_KEYBOARD_F2 
JO_KEYBOARD_F3 
JO_KEYBOARD_F4 
JO_KEYBOARD_F5 
JO_KEYBOARD_F6 
JO_KEYBOARD_F7 
JO_KEYBOARD_F8 
JO_KEYBOARD_F9 
JO_KEYBOARD_F10 
JO_KEYBOARD_F11 
JO_KEYBOARD_F12 

Function Documentation

◆ jo_keyboard_get_char()

static __jo_force_inline unsigned char jo_keyboard_get_char ( void  )
static

◆ jo_keyboard_get_special_key()

jo_keyboard_special_key jo_keyboard_get_special_key ( void  )

Variable Documentation

◆ __internal_keyboard_caps_lock_mapping

char __internal_keyboard_caps_lock_mapping[]

Keyboard mapping (internal engine usage)

Warning
MC Hammer: don't touch this

◆ __internal_keyboard_normal_mapping

char __internal_keyboard_normal_mapping[]

Keyboard mapping (internal engine usage)

Warning
MC Hammer: don't touch this