GenericKeyboard

Generic keyboard (compatible) v1.0 See 'docs/generic keyboard.txt' for specification.

Constructors

this
this()
Undocumented in source.

Members

Functions

attachEmulator
void attachEmulator(Emulator!Cpu emulator)
Undocumented in source. Be warned that the author may not have intended to support it.
commitFrame
void commitFrame(ulong frameNumber)
Undocumented in source. Be warned that the author may not have intended to support it.
discardFrame
void discardFrame()
Undocumented in source. Be warned that the author may not have intended to support it.
discardUndoStack
void discardUndoStack()
Undocumented in source. Be warned that the author may not have intended to support it.
handleInterrupt
uint handleInterrupt()
Undocumented in source. Be warned that the author may not have intended to support it.
hardwareId
uint hardwareId()
hardwareVersion
ushort hardwareVersion()
isPrintableChar
bool isPrintableChar(ushort charCode)
Undocumented in source. Be warned that the author may not have intended to support it.
manufacturer
uint manufacturer()
onKey
void onKey(KeyCode keyCode, uint modifiers, bool pressed)
Undocumented in source. Be warned that the author may not have intended to support it.
reset
void reset()
Undocumented in source. Be warned that the author may not have intended to support it.
undoFrames
void undoFrames(ulong numFrames)
Undocumented in source. Be warned that the author may not have intended to support it.
undoStackSize
size_t undoStackSize()
Undocumented in source. Be warned that the author may not have intended to support it.
updateFrame
void updateFrame()

Called when application does rendering

Variables

_emulator
Emulator!Cpu _emulator;
Undocumented in source.
buffer
RingBuffer!(ushort, 256) buffer;
Undocumented in source.
interruptMessage
ushort interruptMessage;
Undocumented in source.
pressedKeys
BitArray pressedKeys;
Undocumented in source.
triggeredInterrupt
bool triggeredInterrupt;

Meta