ROLAND  0.70
Amstrad Emulator based on Caprice Source rewritten in C++.
Classes | Public Types | Public Member Functions | Private Attributes | Static Private Attributes | List of all members
KeyTrans Class Referencefinal

This class provides Keyboard translaation between CPC/EN/DE/SDL/WIN/LINUX. More...

#include <keytrans.h>

Classes

struct  SeqPair
 

Public Types

enum  Language { German, English }
 

Public Member Functions

 KeyTrans ()
 
 ~KeyTrans () ROLAND_DEFAULT struct JoyAlloc
 
void init (Language lang=German)
 
tUBYTE get (SDL_Event &event)
 
bool toggleJoystick ()
 
bool joystickEnabled () const
 
const SeqPairsequenceVal ()
 
bool hasSequence ()
 
void sequenceCatRun ()
 

Private Attributes

SeqPair mSequence [64]
 
uint mSeqIndex
 
JoyAlloc mJoyAlloc [6]
 
bool mJoyEnabled
 

Static Private Attributes

static tUBYTE mTable [320]
 

Detailed Description

This class provides Keyboard translaation between CPC/EN/DE/SDL/WIN/LINUX.

Member Enumeration Documentation

enum Language
Enumerator
German 
English 

Constructor & Destructor Documentation

KeyTrans ( )
~KeyTrans ( )
inline

Member Function Documentation

tUBYTE get ( SDL_Event &  event)
bool hasSequence ( )
void init ( Language  lang = German)
bool joystickEnabled ( ) const
inline
void sequenceCatRun ( )
const KeyTrans::SeqPair & sequenceVal ( )
bool toggleJoystick ( )

Member Data Documentation

JoyAlloc mJoyAlloc[6]
private
bool mJoyEnabled
private
uint mSeqIndex
private
SeqPair mSequence[64]
private
tUBYTE mTable
staticprivate

The documentation for this class was generated from the following files: