Keyboard.h File Reference


Detailed Description

Contains the definitions for the emulated Keyboard and mouse devices and controller.

Id
Keyboard.h,v 1.5 2008/03/14 15:30:51 iamcamiel Exp

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

Author:
Camiel Vanderhoeven (camiel@camicom.com / http://www.camicom.com)

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

CKeyboardtheKeyboard


Define Documentation

#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

#define BX_MOUSE_BUFF_SIZE   48

#define INCLUDED_KEYBOARD_H

Definition at line 48 of file Keyboard.h.

#define MOUSE_MODE_REMOTE   12

#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

Definition at line 57 of file Keyboard.h.

Referenced by CKeyboard::ctrl_to_mouse().

#define MOUSE_MODE_WRAP   13

Definition at line 59 of file Keyboard.h.

Referenced by CKeyboard::ctrl_to_mouse().


Variable Documentation


SourceForge.net Logo
Project space on SourceForge.net