X-1.4 Camiel Vanderhoeven 14-MAR-2008 1. More meaningful exceptions replace throwing (int) 1. 2. U64 macro replaces X64 macro.
X-1.3 Camiel Vanderhoeven 13-MAR-2008 Create init(), start_threads() and stop_threads() functions.
X-1.2 Camiel Vanderhoeven 05-MAR-2008 Multi-threading version.
X-1.1 Camiel Vanderhoeven 12-FEB-2008 Created. Contains code previously found in AliM1543C.h
Definition in file Keyboard.h.
#include "SystemComponent.h"
#include "gui/gui.h"
Go to the source code of this file.
Data Structures | |
| class | CKeyboard |
| Emulated keyboard controller, keyboard and mouse. More... | |
| struct | CKeyboard::SKb_state |
| The state structure contains all elements that need to be saved to the statefile. More... | |
| struct | CKeyboard::SKb_state::SAli_kbdc_status |
| status bits matching the status port More... | |
| struct | CKeyboard::SKb_state::SAli_mouse |
| mouse status More... | |
| struct | CKeyboard::SKb_state::SAli_kbdib |
| internal keyboard buffer More... | |
| struct | CKeyboard::SKb_state::SAli_mib |
| internal mouse buffer More... | |
Defines | |
| #define | INCLUDED_KEYBOARD_H |
| #define | BX_KBD_ELEMENTS 16 |
| #define | BX_MOUSE_BUFF_SIZE 48 |
| #define | MOUSE_MODE_RESET 10 |
| #define | MOUSE_MODE_STREAM 11 |
| #define | MOUSE_MODE_REMOTE 12 |
| #define | MOUSE_MODE_WRAP 13 |
| #define | BX_KBD_CONTROLLER_QSIZE 5 |
Variables | |
| CKeyboard * | theKeyboard |
| #define BX_KBD_CONTROLLER_QSIZE 5 |
Definition at line 213 of file Keyboard.h.
Referenced by CKeyboard::controller_enQ(), and CKeyboard::init().
| #define BX_KBD_ELEMENTS 16 |
Definition at line 53 of file Keyboard.h.
Referenced by CKeyboard::enQ(), CKeyboard::enQ_imm(), CKeyboard::periodic(), and CKeyboard::resetinternals().
| #define BX_MOUSE_BUFF_SIZE 48 |
Definition at line 54 of file Keyboard.h.
Referenced by CKeyboard::init(), CKeyboard::mouse_enQ(), CKeyboard::mouse_enQ_packet(), and CKeyboard::periodic().
| #define INCLUDED_KEYBOARD_H |
Definition at line 48 of file Keyboard.h.
| #define MOUSE_MODE_REMOTE 12 |
Definition at line 58 of file Keyboard.h.
Referenced by CKeyboard::ctrl_to_mouse(), and CKeyboard::SKb_state::SAli_mouse::get_status_byte().
| #define MOUSE_MODE_RESET 10 |
Definition at line 56 of file Keyboard.h.
Referenced by CKeyboard::ctrl_to_mouse(), and CKeyboard::init().
| #define MOUSE_MODE_STREAM 11 |
| #define MOUSE_MODE_WRAP 13 |
Definition at line 1937 of file Keyboard.cpp.
Referenced by CKeyboard::CKeyboard(), bx_sdl_gui_c::handle_events(), bx_win32_gui_c::handle_events(), and xkeypress().