Reference
Running dos-like
- dos_like.run_in_background(argv=None)
Start dos-like in a background thread and return immediately.
- Parameters
argv (
Optional[list[str]]) – optional arguments to pass to dos-like. Notably,-wstarts in windowed mode.
Once returned,
dos_like.dosfunctions may be called.Warning
This function cannot be used in macOS, as it does not support calling GUI operations from a background thread.
- dos_like.start(main_fn, argv=None)
Start dos-like with a given main function, blocking until it returns.
- Parameters
- Return type
- Returns
value returned by main_fn
- Raises
RuntimeError – if already running
- dos_like.stop()
Stop running the background thread started by
run_in_background().- Raises
RuntimeError – if not running in the background
The dos-like API
Screen functions
- dos_like.dos.getpal(index)
Get a palette entry.
- dos_like.dos.screenbuffer()
Get the screen buffer.
- Return type
- Returns
screen buffer of pixels if graphics mode, or (character, color) pairs if text mode, in row-major order
This will return the on-screen buffer in single buffer mode, or the off-screen buffer double buffer mode.
Once
swapbuffers()is called, this buffer will be displayed, and you will need to use its returned buffer as the new off-screen buffer.
- dos_like.dos.screenheight()
Get the current screen height.
- Return type
- Returns
height in characters (if text mode) or pixels (if graphics mode)
- dos_like.dos.screenwidth()
Get the current screen width.
- Return type
- Returns
width in characters (if text mode) or pixels (if graphics mode)
- dos_like.dos.setdoublebuffer(enabled)
Enable or disable double buffer mode.
- Parameters
enabled (
bool) – new double buffer mode
When enabled, updates to the screen buffer do not appear on screen until
swapbuffers()is called.
- dos_like.dos.setpal(index, r, g=None, b=None)
Set a palette entry.
May be called with a single
RGBor 3-tupleargument, or 3intarguments.
- dos_like.dos.shuttingdown()
Check if the user has requested to quit by closing the window.
- Return type
- Returns
True if the app window is closing
This should be checked periodically. When it returns True, the main function should return.
- dos_like.dos.swapbuffers()
In double buffer mode, swap the off-screen buffer with the on-screen buffer.
- Return type
- Returns
the new off-screen buffer
- dos_like.dos.waitvbl()
Wait for the next vertical blanking interval (screen refresh).
Text mode functions
- dos_like.dos.clrscr()
Clear the screen (text mode only).
Fill the screen with the space character (
b'\x20') with the current text and background color.For graphics mode, see
clearscreen().
- dos_like.dos.cputs(string)
Display text and advance the cursor (text mode only).
If the text would extend beyond the current line, it will be truncated and the cursor will remain at the end of the line.
In graphics mode, see
outtextxy(),wraptextxy(), andcentertextxy().
- dos_like.dos.cursoff()
Hide the text mode cursor.
- dos_like.dos.curson()
Show the text mode cursor.
- dos_like.dos.gotoxy(x, y)
Set the cursor position (text mode only).
- dos_like.dos.textbackground(color)
Change the text background color (text mode only).
- Parameters
color (
int) – background palette index in 0..15
- dos_like.dos.textcolor(color)
Change the text color (text mode only).
- Parameters
color (
int) – text palette index in 0..15
- dos_like.dos.wherex()
Return the current cursor 𝑥 position.
- Return type
- Returns
cursor 𝑥 position
Graphics mode functions
- dos_like.dos.bar(x, y, w, h)
Draw a filled rectangle.
- Parameters
The palette index set by
setcolor()will be used.
- dos_like.dos.blit(x, y, source, width, height, srcx, srcy, srcw, srch)
Copy an image buffer to the screen.
- Parameters
x (
int) – destination 𝑥 positiony (
int) – destination 𝑦 positionsource (
Union[bytearray,memoryview,CData,buffer,bytes]) – source image buffer, e.g.GIF.pixelswidth (
int) – source image widthheight (
int) – source image heightsrcx (
int) – source 𝑥 position in the imagesrcy (
int) – source 𝑦 position in the imagesrcw (
int) – width to copysrch (
int) – height to copy
- dos_like.dos.boundaryfill(x, y, boundary)
Boundary fill starting at this point.
- Parameters
Fill out from the start point, setting all pixels with a color index not matching the boundary color.
The palette index set by
setcolor()will be used.
- dos_like.dos.centertextxy(x, y, text, width)
Draw graphics mode text centered between a start point and width.
- Parameters
The font set by
settextstyle()will be used.For text mode, see
cputs().
- dos_like.dos.circle(x, y, r)
Draw a circle outline.
- Parameters
The palette index set by
setcolor()will be used.
- dos_like.dos.clearscreen()
Fill the screen buffer with 0s.
- dos_like.dos.drawpoly(points_xy)
Draw a polygon outline.
- Parameters
points_xy (
Union[list[int],list[tuple[int,int]],bytearray,memoryview,CData,buffer,bytes]) –The points to draw, in one of these formats:
a list of 𝑥, 𝑦 tuples:
[(x1, y1), (x2, y2), ...]a flattened list of points:
[x1, y1, x2, y2, ...]an
int[]buffer
The palette index set by
setcolor()will be used.
- dos_like.dos.ellipse(x, y, rx, ry)
Draw an ellipse outline.
- Parameters
The palette index set by
setcolor()will be used.
- dos_like.dos.fillcircle(x, y, r)
Draw a filled circle.
- Parameters
The palette index set by
setcolor()will be used.
- dos_like.dos.fillellipse(x, y, rx, ry)
Draw a filled ellipse.
- Parameters
The palette index set by
setcolor()will be used.
- dos_like.dos.fillpoly(points_xy)
Draw a filled polygon.
- Parameters
points_xy (
Union[list[int],list[tuple[int,int]],bytearray,memoryview,CData,buffer,bytes]) –The points to draw, in one of these formats:
a list of 𝑥, 𝑦 tuples:
[(x1, y1), (x2, y2), ...]a flattened list of points:
[x1, y1, x2, y2, ...]an
int[]buffer
The palette index set by
setcolor()will be used.
- dos_like.dos.floodfill(x, y)
Flood fill starting at this point.
Fill out from the start point, setting all pixels with a color index matching the original color of the start point.
The palette index set by
setcolor()will be used.
- dos_like.dos.getcolor()
Get the palette index set by
setcolor().- Return type
- Returns
palette index
- dos_like.dos.hline(x, y, len, color)
Draw a horizontal line from left to right.
- dos_like.dos.installuserfont(filename)
Install a font generated by the pixelfont library used by dos-like.
- Parameters
filename (
Union[bytes,str,PathLike]) – filesystem path of the font to load- Return type
- Returns
handle to the installed font
- Raises
ValueError – if unable to load the font
- dos_like.dos.line(x1, y1, x2, y2)
Draw a line between two points.
- Parameters
The palette index set by
setcolor()will be used.
- dos_like.dos.loadgif(filename)
Load a GIF image.
- dos_like.dos.maskblit(x, y, source, width, height, srcx, srcy, srcw, srch, colorkey)
Copy an image buffer to the screen using 1 color as transparent.
- Parameters
x (
int) – destination 𝑥 positiony (
int) – destination 𝑦 positionsource (
Union[bytearray,memoryview,CData,buffer,bytes]) – source image buffer, e.g.GIF.pixelswidth (
int) – source image widthheight (
int) – source image heightsrcx (
int) – source 𝑥 position in the imagesrcy (
int) – source 𝑦 position in the imagesrcw (
int) – width to copysrch (
int) – height to copycolorkey (
int) – palette index to use as transparent
- dos_like.dos.outtextxy(x, y, text)
Draw graphics mode text.
- Parameters
The font set by
settextstyle()will be used.For text mode, see
cputs().
- dos_like.dos.putpixel(x, y, color)
Set the pixel value at this position.
- dos_like.dos.rectangle(x, y, w, h)
Draw a rectangle outline.
- Parameters
The palette index set by
setcolor()will be used.
- dos_like.dos.resetdrawtarget()
Start drawing to the screen buffer.
Call this to stop drawing to the off-screen buffer set by
setdrawtarget().
- dos_like.dos.setcolor(color)
Set the palette index for drawing functions that don’t take a color (e.g.
circle()).- Parameters
color (
int) – palette index
- dos_like.dos.setdrawtarget(pixels, width, height)
Start drawing to an off-screen buffer.
- Parameters
Future draw calls will update pixels instead of the screen buffer. To resume drawing to the screen, call
resetdrawtarget().
- dos_like.dos.settextstyle(font, bold=False, italic=False, underline=False)
Set the graphics mode text style.
- Parameters
font (
FontHandle) – font to draw withbold (
bool) – enable bolditalic (
bool) – enable italicsunderline (
bool) – enable underline
This will affect the next calls to
outtextxy(),wraptextxy(), andcentertextxy().
- dos_like.dos.wraptextxy(x, y, text, width)
Draw graphics mode text with word wrap.
- Parameters
The font set by
settextstyle()will be used.For text mode, see
cputs().
Audio functions
- dos_like.dos.allnotesoff(channel)
Stop playing all notes on a music channel.
- Parameters
channel (
int) – music channel number from 0 up to but not includingMUSIC_CHANNELS
- dos_like.dos.createmus(data)
- Load music from an in-memory
MUS (.mus) buffer.
- Parameters
data (
Union[bytearray,memoryview,CData,buffer,bytes]) – buffer or byte string containing the MUS data- Return type
- Returns
loaded MUS music
- Raises
ValueError – if unable to load the music data
- dos_like.dos.createsound(channels, samplerate, samples)
Create a sound from a sample buffer.
- Parameters
- Return type
- Returns
new sound
- Raises
ValueError – for invalid parameters
Warning
Sound memory is freed when the returned
Soundobject is garbage collected. Deleting or releasing the last reference to a playing sound may cause issues.
- dos_like.dos.installusersoundbank(filename)
Install a sound bank.
- Parameters
filename (
Union[bytes,str,PathLike]) – filesystem path to a SoundFont (.sf2) or OP2 bank (.op2)- Return type
- Returns
handle to the new sound bank
- Raises
ValueError – if unable to load the sound bank
- dos_like.dos.loadmid(filename)
Load music from a MIDI (.mid) file.
- dos_like.dos.loadopb(filename)
Load music from an OPBinaryLib (.opb) file.
- dos_like.dos.loadwav(filename)
Load a .wav sound file.
- Parameters
filename (
Union[bytes,str,PathLike]) – filesystem path of the WAV to load- Return type
- Returns
new sound
- Raises
ValueError – if unable to load the sound
Warning
Sound memory is freed when the returned
Soundobject is garbage collected. Deleting or releasing the last reference to a playing sound may cause issues.
- dos_like.dos.musicplaying()
Check if music is currently playing.
Music playback can be controlled with
playmusic()andstopmusic().
- dos_like.dos.musicvolume(volume)
Set the music playback volume.
- Parameters
volume (
int) – volume level in 0..255
- dos_like.dos.noteoff(channel, note)
Stop playing a note on a music channel.
- Parameters
channel (
int) – music channel number from 0 up to but not includingMUSIC_CHANNELSnote (
int) – MIDI note number in 0..127
If invalid parameters are given, the function call will be ignored.
For a chart of MIDI note numbers, see http://www.phys.unsw.edu.au/jw/notes.html
- dos_like.dos.noteon(channel, note, velocity)
Play a note on a music channel.
- Parameters
channel (
int) – music channel number from 0 up to but not includingMUSIC_CHANNELSnote (
int) – MIDI note number in 0..127velocity (
int) – note velocity in 0..127
If invalid parameters are given, the function call will be ignored.
For a chart of MIDI note numbers, see http://www.phys.unsw.edu.au/jw/notes.html
- dos_like.dos.playmusic(music, loop=False, volume=255)
Start playing music.
- Parameters
The music may be stopped with
stopmusic().
- dos_like.dos.playsound(channel, sound, loop=False, volume=255)
Play a sound.
- Parameters
channel (
int) – sound channel number from 0 up to but not includingSOUND_CHANNELSsound (
Sound) – sound to playloop (
bool) – whether the sound should loopvolume (
int) – volume level in 0..255
Sounds may be loaded with
loadwav()or created from a buffer withcreatesound().The sound may be stopped with
stopsound().
- dos_like.dos.setinstrument(channel, instrument)
Set the instrument number for a music channel.
- Parameters
channel (
int) – music channel number from 0 up to but not includingMUSIC_CHANNELSinstrument (
int) – instrument number in 0..127
- dos_like.dos.setsoundbank(soundbank)
Set the current sound bank.
- Parameters
soundbank (
SoundBankHandle) – handle to an installed sound bank
The sound bank will be used by music functions like
noteon()andplaymusic().
- dos_like.dos.setsoundmode(mode)
Set the sound playback mode.
- Parameters
mode (
SoundMode) – new sound mode
- dos_like.dos.soundplaying(channel)
Check if sound is playing on a channel.
- Parameters
channel (
int) – sound channel number from 0 up to but not includingSOUND_CHANNELS- Return type
- Returns
Sound can be played with
playsound()and stopped withstopsound().
- dos_like.dos.soundvolume(channel, left, right)
Set the sound volume for a channel.
- Parameters
channel (
int) – sound channel number from 0 up to but not includingSOUND_CHANNELSleft (
int) – left volume level in 0..255right (
int) – right volume level in 0..255
- dos_like.dos.stopmusic()
Stop playing music that was started by
playmusic().
- dos_like.dos.stopsound(channel)
Stop the sound playing on a channel.
- Parameters
channel (
int) – sound channel number from 0 up to but not includingSOUND_CHANNELS
This will stop a sound that was played by
playsound().
Input functions
- dos_like.dos.keystate(key)
Check if a key is pressed, by code.
- dos_like.dos.mouserelx()
Get the last relative mouse 𝑥 direction.
- Return type
- Returns
mouse movement in the 𝑥 direction relative to the position of the last mouse input event, may be positive or negative
- dos_like.dos.mouserely()
Get the last relative mouse 𝑦 direction.
- Return type
- Returns
mouse movement in the 𝑦 direction relative to the position of the last mouse input event, may be positive or negative
- dos_like.dos.readchars()
Get the characters typed since the last call to
readchars().- Return type
- Returns
string of characters, may be empty if no characters were typed since the last call.
- dos_like.dos.readkeys()
Get the key codes received since the last call to
readkeys().- Return type
- Returns
list of
KeyCodevalues, may be empty if no keys were pressed or released since the last call.
The returned key codes may be bitwise or’d with
KEY_MODIFIER_RELEASEDto indicate a key has been released. Otherwise, indicates a key has been pressed.
Utilities
- dos_like.dos.new_buffer(data=None, size=None)
Allocate a new buffer to pass to dos-like functions that accept one.
Types
- class dos_like.dos.buffer
ffi.buffer(cdata[, byte_size]): Return a read-write buffer object that references the raw C data pointed to by the given ‘cdata’. The ‘cdata’ must be a pointer or an array. Can be passed to functions expecting a buffer, or directly manipulated with:
buf[:] get a copy of it in a regular string, or buf[idx] as a single character buf[:] = … buf[idx] = … change the content
- class dos_like.dos.GIF(filename, width, height, palette, pixels, _pixels_ptr)
GIF image.
- palette: list[dos_like.dos.RGB]
Image color map
- class dos_like.dos.Music(filename, _music_ptr)
Loaded music.
Constants
- dos_like.dos.MUSIC_CHANNELS = 16
Maximum number of channels for music notes.
- dos_like.dos.SOUND_CHANNELS = 16
Maximum number of channels for sounds.
Video Modes
- class dos_like.dos.VideoMode(value)
Enumeration of text and graphics modes.
- dos_like.dos.videomode_40x25_8x8: VideoMode = VideoMode.40x25_8x8
40x25 text mode with 8x8 characters.
- dos_like.dos.videomode_40x25_9x16: VideoMode = VideoMode.40x25_9x16
40x25 text mode with 9x16 characters.
- dos_like.dos.videomode_80x25_8x16: VideoMode = VideoMode.80x25_8x16
80x25 text mode with 8x16 characters.
- dos_like.dos.videomode_80x25_8x8: VideoMode = VideoMode.80x25_8x8
80x25 text mode with 8x8 characters.
- dos_like.dos.videomode_80x25_9x16: VideoMode = VideoMode.80x25_9x16
80x25 text mode with 9x16 characters.
- dos_like.dos.videomode_80x43_8x8: VideoMode = VideoMode.80x43_8x8
80x43 text mode with 8x8 characters.
Fonts
- class dos_like.dos.FontHandle
Handle to an installed font.
- dos_like.dos.DEFAULT_FONT_8X8: FontHandle = 1
8x8 font
- dos_like.dos.DEFAULT_FONT_8X16: FontHandle = 2
8x16 font
- dos_like.dos.DEFAULT_FONT_9X16: FontHandle = 3
9x16 font
Sound Banks
- class dos_like.dos.SoundBankHandle
Handle to an installed sound bank.
- dos_like.dos.DEFAULT_SOUNDBANK_AWE32: SoundBankHandle = 1
Sound Blaster AWE32 sound bank.
- dos_like.dos.DEFAULT_SOUNDBANK_SB16: SoundBankHandle = 2
Sound Blaster 16 sound bank.
Sound Modes
- class dos_like.dos.SoundMode(value)
Enumeration of sound modes.
- dos_like.dos.soundmode_8bit_mono_5000: SoundMode = SoundMode.8bit_mono_5000
8-bit, 1 channel, 5,000 Hz sound mode
- dos_like.dos.soundmode_8bit_mono_8000: SoundMode = SoundMode.8bit_mono_8000
8-bit, 1 channel, 8,000 Hz sound mode
- dos_like.dos.soundmode_8bit_mono_11025: SoundMode = SoundMode.8bit_mono_11025
8-bit, 1 channel, 11,025 Hz sound mode
- dos_like.dos.soundmode_8bit_mono_16000: SoundMode = SoundMode.8bit_mono_16000
8-bit, 1 channel, 16,000 Hz sound mode
- dos_like.dos.soundmode_8bit_mono_22050: SoundMode = SoundMode.8bit_mono_22050
8-bit, 1 channel, 22,050 Hz sound mode
- dos_like.dos.soundmode_8bit_mono_32000: SoundMode = SoundMode.8bit_mono_32000
8-bit, 1 channel, 32,000 Hz sound mode
- dos_like.dos.soundmode_8bit_mono_44100: SoundMode = SoundMode.8bit_mono_44100
8-bit, 1 channel, 44,100 Hz sound mode
- dos_like.dos.soundmode_16bit_mono_5000: SoundMode = SoundMode.16bit_mono_5000
16-bit, 1 channel, 5,000 Hz sound mode
- dos_like.dos.soundmode_16bit_mono_8000: SoundMode = SoundMode.16bit_mono_8000
16-bit, 1 channel, 8,000 Hz sound mode
- dos_like.dos.soundmode_16bit_mono_11025: SoundMode = SoundMode.16bit_mono_11025
16-bit, 1 channel, 11,025 Hz sound mode
- dos_like.dos.soundmode_16bit_mono_16000: SoundMode = SoundMode.16bit_mono_16000
16-bit, 1 channel, 16,000 Hz sound mode
- dos_like.dos.soundmode_16bit_mono_22050: SoundMode = SoundMode.16bit_mono_22050
16-bit, 1 channel, 22,050 Hz sound mode
- dos_like.dos.soundmode_16bit_mono_32000: SoundMode = SoundMode.16bit_mono_32000
16-bit, 1 channel, 32,000 Hz sound mode
- dos_like.dos.soundmode_16bit_mono_44100: SoundMode = SoundMode.16bit_mono_44100
16-bit, 1 channel, 44,100 Hz sound mode
- dos_like.dos.soundmode_8bit_stereo_5000: SoundMode = SoundMode.8bit_stereo_5000
8-bit, 2 channel, 5,000 Hz sound mode
- dos_like.dos.soundmode_8bit_stereo_8000: SoundMode = SoundMode.8bit_stereo_8000
8-bit, 2 channel, 8,000 Hz sound mode
- dos_like.dos.soundmode_8bit_stereo_11025: SoundMode = SoundMode.8bit_stereo_11025
8-bit, 2 channel, 11,025 Hz sound mode
- dos_like.dos.soundmode_8bit_stereo_16000: SoundMode = SoundMode.8bit_stereo_16000
8-bit, 2 channel, 16,000 Hz sound mode
- dos_like.dos.soundmode_8bit_stereo_22050: SoundMode = SoundMode.8bit_stereo_22050
8-bit, 2 channel, 22,050 Hz sound mode
- dos_like.dos.soundmode_8bit_stereo_32000: SoundMode = SoundMode.8bit_stereo_32000
8-bit, 2 channel, 32,000 Hz sound mode
- dos_like.dos.soundmode_8bit_stereo_44100: SoundMode = SoundMode.8bit_stereo_44100
8-bit, 2 channel, 44,100 Hz sound mode
- dos_like.dos.soundmode_16bit_stereo_5000: SoundMode = SoundMode.16bit_stereo_5000
16-bit, 2 channel, 5,000 Hz sound mode
- dos_like.dos.soundmode_16bit_stereo_8000: SoundMode = SoundMode.16bit_stereo_8000
16-bit, 2 channel, 8,000 Hz sound mode
- dos_like.dos.soundmode_16bit_stereo_11025: SoundMode = SoundMode.16bit_stereo_11025
16-bit, 2 channel, 11,025 Hz sound mode
- dos_like.dos.soundmode_16bit_stereo_16000: SoundMode = SoundMode.16bit_stereo_16000
16-bit, 2 channel, 16,000 Hz sound mode
- dos_like.dos.soundmode_16bit_stereo_22050: SoundMode = SoundMode.16bit_stereo_22050
16-bit, 2 channel, 22,050 Hz sound mode
Key Codes
- class dos_like.dos.KeyCode(value)
Keyboard code.
May be bitwise or’d with
KEY_MODIFIER_RELEASEDto indicate a key has been released. Otherwise indicates a key has been pressed.
- dos_like.dos.KEY_MODIFIER_RELEASED: KeyCode = KeyCode.MODIFIER_RELEASED
or’d with a
KeyCodeto indicate a key has been released.
- dos_like.dos.KEY_INVALID: KeyCode = KeyCode.INVALID
Keyboard code.
May be bitwise or’d with
KEY_MODIFIER_RELEASEDto indicate a key has been released. Otherwise indicates a key has been pressed.
- dos_like.dos.KEY_LBUTTON: KeyCode = KeyCode.LBUTTON
Keyboard code.
May be bitwise or’d with
KEY_MODIFIER_RELEASEDto indicate a key has been released. Otherwise indicates a key has been pressed.
- dos_like.dos.KEY_RBUTTON: KeyCode = KeyCode.RBUTTON
Keyboard code.
May be bitwise or’d with
KEY_MODIFIER_RELEASEDto indicate a key has been released. Otherwise indicates a key has been pressed.
- dos_like.dos.KEY_CANCEL: KeyCode = KeyCode.CANCEL
Keyboard code.
May be bitwise or’d with
KEY_MODIFIER_RELEASEDto indicate a key has been released. Otherwise indicates a key has been pressed.
- dos_like.dos.KEY_MBUTTON: KeyCode = KeyCode.MBUTTON
Keyboard code.
May be bitwise or’d with
KEY_MODIFIER_RELEASEDto indicate a key has been released. Otherwise indicates a key has been pressed.
- dos_like.dos.KEY_XBUTTON1: KeyCode = KeyCode.XBUTTON1
Keyboard code.
May be bitwise or’d with
KEY_MODIFIER_RELEASEDto indicate a key has been released. Otherwise indicates a key has been pressed.
- dos_like.dos.KEY_XBUTTON2: KeyCode = KeyCode.XBUTTON2
Keyboard code.
May be bitwise or’d with
KEY_MODIFIER_RELEASEDto indicate a key has been released. Otherwise indicates a key has been pressed.
- dos_like.dos.KEY_BACK: KeyCode = KeyCode.BACK
Keyboard code.
May be bitwise or’d with
KEY_MODIFIER_RELEASEDto indicate a key has been released. Otherwise indicates a key has been pressed.
- dos_like.dos.KEY_TAB: KeyCode = KeyCode.TAB
Keyboard code.
May be bitwise or’d with
KEY_MODIFIER_RELEASEDto indicate a key has been released. Otherwise indicates a key has been pressed.
- dos_like.dos.KEY_CLEAR: KeyCode = KeyCode.CLEAR
Keyboard code.
May be bitwise or’d with
KEY_MODIFIER_RELEASEDto indicate a key has been released. Otherwise indicates a key has been pressed.
- dos_like.dos.KEY_RETURN: KeyCode = KeyCode.RETURN
Keyboard code.
May be bitwise or’d with
KEY_MODIFIER_RELEASEDto indicate a key has been released. Otherwise indicates a key has been pressed.
- dos_like.dos.KEY_SHIFT: KeyCode = KeyCode.SHIFT
Keyboard code.
May be bitwise or’d with
KEY_MODIFIER_RELEASEDto indicate a key has been released. Otherwise indicates a key has been pressed.
- dos_like.dos.KEY_CONTROL: KeyCode = KeyCode.CONTROL
Keyboard code.
May be bitwise or’d with
KEY_MODIFIER_RELEASEDto indicate a key has been released. Otherwise indicates a key has been pressed.
- dos_like.dos.KEY_MENU: KeyCode = KeyCode.MENU
Keyboard code.
May be bitwise or’d with
KEY_MODIFIER_RELEASEDto indicate a key has been released. Otherwise indicates a key has been pressed.
- dos_like.dos.KEY_PAUSE: KeyCode = KeyCode.PAUSE
Keyboard code.
May be bitwise or’d with
KEY_MODIFIER_RELEASEDto indicate a key has been released. Otherwise indicates a key has been pressed.
- dos_like.dos.KEY_CAPITAL: KeyCode = KeyCode.CAPITAL
Keyboard code.
May be bitwise or’d with
KEY_MODIFIER_RELEASEDto indicate a key has been released. Otherwise indicates a key has been pressed.
- dos_like.dos.KEY_KANA: KeyCode = KeyCode.HANGUL
Keyboard code.
May be bitwise or’d with
KEY_MODIFIER_RELEASEDto indicate a key has been released. Otherwise indicates a key has been pressed.
- dos_like.dos.KEY_HANGUL: KeyCode = KeyCode.HANGUL
Keyboard code.
May be bitwise or’d with
KEY_MODIFIER_RELEASEDto indicate a key has been released. Otherwise indicates a key has been pressed.
- dos_like.dos.KEY_JUNJA: KeyCode = KeyCode.JUNJA
Keyboard code.
May be bitwise or’d with
KEY_MODIFIER_RELEASEDto indicate a key has been released. Otherwise indicates a key has been pressed.
- dos_like.dos.KEY_FINAL: KeyCode = KeyCode.FINAL
Keyboard code.
May be bitwise or’d with
KEY_MODIFIER_RELEASEDto indicate a key has been released. Otherwise indicates a key has been pressed.
- dos_like.dos.KEY_HANJA: KeyCode = KeyCode.HANJA
Keyboard code.
May be bitwise or’d with
KEY_MODIFIER_RELEASEDto indicate a key has been released. Otherwise indicates a key has been pressed.
- dos_like.dos.KEY_KANJI = KeyCode.HANJA
Keyboard code.
May be bitwise or’d with
KEY_MODIFIER_RELEASEDto indicate a key has been released. Otherwise indicates a key has been pressed.
- dos_like.dos.KEY_ESCAPE: KeyCode = KeyCode.ESCAPE
Keyboard code.
May be bitwise or’d with
KEY_MODIFIER_RELEASEDto indicate a key has been released. Otherwise indicates a key has been pressed.
- dos_like.dos.KEY_CONVERT: KeyCode = KeyCode.CONVERT
Keyboard code.
May be bitwise or’d with
KEY_MODIFIER_RELEASEDto indicate a key has been released. Otherwise indicates a key has been pressed.
- dos_like.dos.KEY_NONCONVERT: KeyCode = KeyCode.NONCONVERT
Keyboard code.
May be bitwise or’d with
KEY_MODIFIER_RELEASEDto indicate a key has been released. Otherwise indicates a key has been pressed.
- dos_like.dos.KEY_ACCEPT: KeyCode = KeyCode.ACCEPT
Keyboard code.
May be bitwise or’d with
KEY_MODIFIER_RELEASEDto indicate a key has been released. Otherwise indicates a key has been pressed.
- dos_like.dos.KEY_MODECHANGE: KeyCode = KeyCode.MODECHANGE
Keyboard code.
May be bitwise or’d with
KEY_MODIFIER_RELEASEDto indicate a key has been released. Otherwise indicates a key has been pressed.
- dos_like.dos.KEY_SPACE: KeyCode = KeyCode.SPACE
Keyboard code.
May be bitwise or’d with
KEY_MODIFIER_RELEASEDto indicate a key has been released. Otherwise indicates a key has been pressed.
- dos_like.dos.KEY_PRIOR: KeyCode = KeyCode.PRIOR
Keyboard code.
May be bitwise or’d with
KEY_MODIFIER_RELEASEDto indicate a key has been released. Otherwise indicates a key has been pressed.
- dos_like.dos.KEY_NEXT: KeyCode = KeyCode.NEXT
Keyboard code.
May be bitwise or’d with
KEY_MODIFIER_RELEASEDto indicate a key has been released. Otherwise indicates a key has been pressed.
- dos_like.dos.KEY_END: KeyCode = KeyCode.END
Keyboard code.
May be bitwise or’d with
KEY_MODIFIER_RELEASEDto indicate a key has been released. Otherwise indicates a key has been pressed.
- dos_like.dos.KEY_HOME: KeyCode = KeyCode.HOME
Keyboard code.
May be bitwise or’d with
KEY_MODIFIER_RELEASEDto indicate a key has been released. Otherwise indicates a key has been pressed.
- dos_like.dos.KEY_LEFT: KeyCode = KeyCode.LEFT
Keyboard code.
May be bitwise or’d with
KEY_MODIFIER_RELEASEDto indicate a key has been released. Otherwise indicates a key has been pressed.
- dos_like.dos.KEY_UP: KeyCode = KeyCode.UP
Keyboard code.
May be bitwise or’d with
KEY_MODIFIER_RELEASEDto indicate a key has been released. Otherwise indicates a key has been pressed.
- dos_like.dos.KEY_RIGHT: KeyCode = KeyCode.RIGHT
Keyboard code.
May be bitwise or’d with
KEY_MODIFIER_RELEASEDto indicate a key has been released. Otherwise indicates a key has been pressed.
- dos_like.dos.KEY_DOWN: KeyCode = KeyCode.DOWN
Keyboard code.
May be bitwise or’d with
KEY_MODIFIER_RELEASEDto indicate a key has been released. Otherwise indicates a key has been pressed.
- dos_like.dos.KEY_SELECT: KeyCode = KeyCode.SELECT
Keyboard code.
May be bitwise or’d with
KEY_MODIFIER_RELEASEDto indicate a key has been released. Otherwise indicates a key has been pressed.
- dos_like.dos.KEY_PRINT: KeyCode = KeyCode.PRINT
Keyboard code.
May be bitwise or’d with
KEY_MODIFIER_RELEASEDto indicate a key has been released. Otherwise indicates a key has been pressed.
- dos_like.dos.KEY_EXEC: KeyCode = KeyCode.EXEC
Keyboard code.
May be bitwise or’d with
KEY_MODIFIER_RELEASEDto indicate a key has been released. Otherwise indicates a key has been pressed.
- dos_like.dos.KEY_SNAPSHOT: KeyCode = KeyCode.SNAPSHOT
Keyboard code.
May be bitwise or’d with
KEY_MODIFIER_RELEASEDto indicate a key has been released. Otherwise indicates a key has been pressed.
- dos_like.dos.KEY_INSERT: KeyCode = KeyCode.INSERT
Keyboard code.
May be bitwise or’d with
KEY_MODIFIER_RELEASEDto indicate a key has been released. Otherwise indicates a key has been pressed.
- dos_like.dos.KEY_DELETE: KeyCode = KeyCode.DELETE
Keyboard code.
May be bitwise or’d with
KEY_MODIFIER_RELEASEDto indicate a key has been released. Otherwise indicates a key has been pressed.
- dos_like.dos.KEY_HELP: KeyCode = KeyCode.HELP
Keyboard code.
May be bitwise or’d with
KEY_MODIFIER_RELEASEDto indicate a key has been released. Otherwise indicates a key has been pressed.
- dos_like.dos.KEY_0: KeyCode = KeyCode.0
Keyboard code.
May be bitwise or’d with
KEY_MODIFIER_RELEASEDto indicate a key has been released. Otherwise indicates a key has been pressed.
- dos_like.dos.KEY_1: KeyCode = KeyCode.1
Keyboard code.
May be bitwise or’d with
KEY_MODIFIER_RELEASEDto indicate a key has been released. Otherwise indicates a key has been pressed.
- dos_like.dos.KEY_2: KeyCode = KeyCode.2
Keyboard code.
May be bitwise or’d with
KEY_MODIFIER_RELEASEDto indicate a key has been released. Otherwise indicates a key has been pressed.
- dos_like.dos.KEY_3: KeyCode = KeyCode.3
Keyboard code.
May be bitwise or’d with
KEY_MODIFIER_RELEASEDto indicate a key has been released. Otherwise indicates a key has been pressed.
- dos_like.dos.KEY_4: KeyCode = KeyCode.4
Keyboard code.
May be bitwise or’d with
KEY_MODIFIER_RELEASEDto indicate a key has been released. Otherwise indicates a key has been pressed.
- dos_like.dos.KEY_5: KeyCode = KeyCode.5
Keyboard code.
May be bitwise or’d with
KEY_MODIFIER_RELEASEDto indicate a key has been released. Otherwise indicates a key has been pressed.
- dos_like.dos.KEY_6: KeyCode = KeyCode.6
Keyboard code.
May be bitwise or’d with
KEY_MODIFIER_RELEASEDto indicate a key has been released. Otherwise indicates a key has been pressed.
- dos_like.dos.KEY_7: KeyCode = KeyCode.7
Keyboard code.
May be bitwise or’d with
KEY_MODIFIER_RELEASEDto indicate a key has been released. Otherwise indicates a key has been pressed.
- dos_like.dos.KEY_8: KeyCode = KeyCode.8
Keyboard code.
May be bitwise or’d with
KEY_MODIFIER_RELEASEDto indicate a key has been released. Otherwise indicates a key has been pressed.
- dos_like.dos.KEY_9: KeyCode = KeyCode.9
Keyboard code.
May be bitwise or’d with
KEY_MODIFIER_RELEASEDto indicate a key has been released. Otherwise indicates a key has been pressed.
- dos_like.dos.KEY_A: KeyCode = KeyCode.A
Keyboard code.
May be bitwise or’d with
KEY_MODIFIER_RELEASEDto indicate a key has been released. Otherwise indicates a key has been pressed.
- dos_like.dos.KEY_B: KeyCode = KeyCode.B
Keyboard code.
May be bitwise or’d with
KEY_MODIFIER_RELEASEDto indicate a key has been released. Otherwise indicates a key has been pressed.
- dos_like.dos.KEY_C: KeyCode = KeyCode.C
Keyboard code.
May be bitwise or’d with
KEY_MODIFIER_RELEASEDto indicate a key has been released. Otherwise indicates a key has been pressed.
- dos_like.dos.KEY_D: KeyCode = KeyCode.D
Keyboard code.
May be bitwise or’d with
KEY_MODIFIER_RELEASEDto indicate a key has been released. Otherwise indicates a key has been pressed.
- dos_like.dos.KEY_E: KeyCode = KeyCode.E
Keyboard code.
May be bitwise or’d with
KEY_MODIFIER_RELEASEDto indicate a key has been released. Otherwise indicates a key has been pressed.
- dos_like.dos.KEY_F: KeyCode = KeyCode.F
Keyboard code.
May be bitwise or’d with
KEY_MODIFIER_RELEASEDto indicate a key has been released. Otherwise indicates a key has been pressed.
- dos_like.dos.KEY_G: KeyCode = KeyCode.G
Keyboard code.
May be bitwise or’d with
KEY_MODIFIER_RELEASEDto indicate a key has been released. Otherwise indicates a key has been pressed.
- dos_like.dos.KEY_H: KeyCode = KeyCode.H
Keyboard code.
May be bitwise or’d with
KEY_MODIFIER_RELEASEDto indicate a key has been released. Otherwise indicates a key has been pressed.
- dos_like.dos.KEY_I: KeyCode = KeyCode.I
Keyboard code.
May be bitwise or’d with
KEY_MODIFIER_RELEASEDto indicate a key has been released. Otherwise indicates a key has been pressed.
- dos_like.dos.KEY_J: KeyCode = KeyCode.J
Keyboard code.
May be bitwise or’d with
KEY_MODIFIER_RELEASEDto indicate a key has been released. Otherwise indicates a key has been pressed.
- dos_like.dos.KEY_K: KeyCode = KeyCode.K
Keyboard code.
May be bitwise or’d with
KEY_MODIFIER_RELEASEDto indicate a key has been released. Otherwise indicates a key has been pressed.
- dos_like.dos.KEY_L: KeyCode = KeyCode.L
Keyboard code.
May be bitwise or’d with
KEY_MODIFIER_RELEASEDto indicate a key has been released. Otherwise indicates a key has been pressed.
- dos_like.dos.KEY_M: KeyCode = KeyCode.M
Keyboard code.
May be bitwise or’d with
KEY_MODIFIER_RELEASEDto indicate a key has been released. Otherwise indicates a key has been pressed.
- dos_like.dos.KEY_N: KeyCode = KeyCode.N
Keyboard code.
May be bitwise or’d with
KEY_MODIFIER_RELEASEDto indicate a key has been released. Otherwise indicates a key has been pressed.
- dos_like.dos.KEY_O: KeyCode = KeyCode.O
Keyboard code.
May be bitwise or’d with
KEY_MODIFIER_RELEASEDto indicate a key has been released. Otherwise indicates a key has been pressed.
- dos_like.dos.KEY_P: KeyCode = KeyCode.P
Keyboard code.
May be bitwise or’d with
KEY_MODIFIER_RELEASEDto indicate a key has been released. Otherwise indicates a key has been pressed.
- dos_like.dos.KEY_Q: KeyCode = KeyCode.Q
Keyboard code.
May be bitwise or’d with
KEY_MODIFIER_RELEASEDto indicate a key has been released. Otherwise indicates a key has been pressed.
- dos_like.dos.KEY_R: KeyCode = KeyCode.R
Keyboard code.
May be bitwise or’d with
KEY_MODIFIER_RELEASEDto indicate a key has been released. Otherwise indicates a key has been pressed.
- dos_like.dos.KEY_S: KeyCode = KeyCode.S
Keyboard code.
May be bitwise or’d with
KEY_MODIFIER_RELEASEDto indicate a key has been released. Otherwise indicates a key has been pressed.
- dos_like.dos.KEY_T: KeyCode = KeyCode.T
Keyboard code.
May be bitwise or’d with
KEY_MODIFIER_RELEASEDto indicate a key has been released. Otherwise indicates a key has been pressed.
- dos_like.dos.KEY_U: KeyCode = KeyCode.U
Keyboard code.
May be bitwise or’d with
KEY_MODIFIER_RELEASEDto indicate a key has been released. Otherwise indicates a key has been pressed.
- dos_like.dos.KEY_V: KeyCode = KeyCode.V
Keyboard code.
May be bitwise or’d with
KEY_MODIFIER_RELEASEDto indicate a key has been released. Otherwise indicates a key has been pressed.
- dos_like.dos.KEY_W: KeyCode = KeyCode.W
Keyboard code.
May be bitwise or’d with
KEY_MODIFIER_RELEASEDto indicate a key has been released. Otherwise indicates a key has been pressed.
- dos_like.dos.KEY_X: KeyCode = KeyCode.X
Keyboard code.
May be bitwise or’d with
KEY_MODIFIER_RELEASEDto indicate a key has been released. Otherwise indicates a key has been pressed.
- dos_like.dos.KEY_Y: KeyCode = KeyCode.Y
Keyboard code.
May be bitwise or’d with
KEY_MODIFIER_RELEASEDto indicate a key has been released. Otherwise indicates a key has been pressed.
- dos_like.dos.KEY_Z: KeyCode = KeyCode.Z
Keyboard code.
May be bitwise or’d with
KEY_MODIFIER_RELEASEDto indicate a key has been released. Otherwise indicates a key has been pressed.
- dos_like.dos.KEY_LWIN: KeyCode = KeyCode.LWIN
Keyboard code.
May be bitwise or’d with
KEY_MODIFIER_RELEASEDto indicate a key has been released. Otherwise indicates a key has been pressed.
- dos_like.dos.KEY_RWIN: KeyCode = KeyCode.RWIN
Keyboard code.
May be bitwise or’d with
KEY_MODIFIER_RELEASEDto indicate a key has been released. Otherwise indicates a key has been pressed.
- dos_like.dos.KEY_APPS: KeyCode = KeyCode.APPS
Keyboard code.
May be bitwise or’d with
KEY_MODIFIER_RELEASEDto indicate a key has been released. Otherwise indicates a key has been pressed.
- dos_like.dos.KEY_SLEEP: KeyCode = KeyCode.SLEEP
Keyboard code.
May be bitwise or’d with
KEY_MODIFIER_RELEASEDto indicate a key has been released. Otherwise indicates a key has been pressed.
- dos_like.dos.KEY_NUMPAD0: KeyCode = KeyCode.NUMPAD0
Keyboard code.
May be bitwise or’d with
KEY_MODIFIER_RELEASEDto indicate a key has been released. Otherwise indicates a key has been pressed.
- dos_like.dos.KEY_NUMPAD1: KeyCode = KeyCode.NUMPAD1
Keyboard code.
May be bitwise or’d with
KEY_MODIFIER_RELEASEDto indicate a key has been released. Otherwise indicates a key has been pressed.
- dos_like.dos.KEY_NUMPAD2: KeyCode = KeyCode.NUMPAD2
Keyboard code.
May be bitwise or’d with
KEY_MODIFIER_RELEASEDto indicate a key has been released. Otherwise indicates a key has been pressed.
- dos_like.dos.KEY_NUMPAD3: KeyCode = KeyCode.NUMPAD3
Keyboard code.
May be bitwise or’d with
KEY_MODIFIER_RELEASEDto indicate a key has been released. Otherwise indicates a key has been pressed.
- dos_like.dos.KEY_NUMPAD4: KeyCode = KeyCode.NUMPAD4
Keyboard code.
May be bitwise or’d with
KEY_MODIFIER_RELEASEDto indicate a key has been released. Otherwise indicates a key has been pressed.
- dos_like.dos.KEY_NUMPAD5: KeyCode = KeyCode.NUMPAD5
Keyboard code.
May be bitwise or’d with
KEY_MODIFIER_RELEASEDto indicate a key has been released. Otherwise indicates a key has been pressed.
- dos_like.dos.KEY_NUMPAD6: KeyCode = KeyCode.NUMPAD6
Keyboard code.
May be bitwise or’d with
KEY_MODIFIER_RELEASEDto indicate a key has been released. Otherwise indicates a key has been pressed.
- dos_like.dos.KEY_NUMPAD7: KeyCode = KeyCode.NUMPAD7
Keyboard code.
May be bitwise or’d with
KEY_MODIFIER_RELEASEDto indicate a key has been released. Otherwise indicates a key has been pressed.
- dos_like.dos.KEY_NUMPAD8: KeyCode = KeyCode.NUMPAD8
Keyboard code.
May be bitwise or’d with
KEY_MODIFIER_RELEASEDto indicate a key has been released. Otherwise indicates a key has been pressed.
- dos_like.dos.KEY_NUMPAD9: KeyCode = KeyCode.NUMPAD9
Keyboard code.
May be bitwise or’d with
KEY_MODIFIER_RELEASEDto indicate a key has been released. Otherwise indicates a key has been pressed.
- dos_like.dos.KEY_MULTIPLY: KeyCode = KeyCode.MULTIPLY
Keyboard code.
May be bitwise or’d with
KEY_MODIFIER_RELEASEDto indicate a key has been released. Otherwise indicates a key has been pressed.
- dos_like.dos.KEY_ADD: KeyCode = KeyCode.ADD
Keyboard code.
May be bitwise or’d with
KEY_MODIFIER_RELEASEDto indicate a key has been released. Otherwise indicates a key has been pressed.
- dos_like.dos.KEY_SEPARATOR: KeyCode = KeyCode.SEPARATOR
Keyboard code.
May be bitwise or’d with
KEY_MODIFIER_RELEASEDto indicate a key has been released. Otherwise indicates a key has been pressed.
- dos_like.dos.KEY_SUBTRACT: KeyCode = KeyCode.SUBTRACT
Keyboard code.
May be bitwise or’d with
KEY_MODIFIER_RELEASEDto indicate a key has been released. Otherwise indicates a key has been pressed.
- dos_like.dos.KEY_DECIMAL: KeyCode = KeyCode.DECIMAL
Keyboard code.
May be bitwise or’d with
KEY_MODIFIER_RELEASEDto indicate a key has been released. Otherwise indicates a key has been pressed.
- dos_like.dos.KEY_DIVIDE: KeyCode = KeyCode.DIVIDE
Keyboard code.
May be bitwise or’d with
KEY_MODIFIER_RELEASEDto indicate a key has been released. Otherwise indicates a key has been pressed.
- dos_like.dos.KEY_F1: KeyCode = KeyCode.F1
Keyboard code.
May be bitwise or’d with
KEY_MODIFIER_RELEASEDto indicate a key has been released. Otherwise indicates a key has been pressed.
- dos_like.dos.KEY_F2: KeyCode = KeyCode.F2
Keyboard code.
May be bitwise or’d with
KEY_MODIFIER_RELEASEDto indicate a key has been released. Otherwise indicates a key has been pressed.
- dos_like.dos.KEY_F3: KeyCode = KeyCode.F3
Keyboard code.
May be bitwise or’d with
KEY_MODIFIER_RELEASEDto indicate a key has been released. Otherwise indicates a key has been pressed.
- dos_like.dos.KEY_F4: KeyCode = KeyCode.F4
Keyboard code.
May be bitwise or’d with
KEY_MODIFIER_RELEASEDto indicate a key has been released. Otherwise indicates a key has been pressed.
- dos_like.dos.KEY_F5: KeyCode = KeyCode.F5
Keyboard code.
May be bitwise or’d with
KEY_MODIFIER_RELEASEDto indicate a key has been released. Otherwise indicates a key has been pressed.
- dos_like.dos.KEY_F6: KeyCode = KeyCode.F6
Keyboard code.
May be bitwise or’d with
KEY_MODIFIER_RELEASEDto indicate a key has been released. Otherwise indicates a key has been pressed.
- dos_like.dos.KEY_F7: KeyCode = KeyCode.F7
Keyboard code.
May be bitwise or’d with
KEY_MODIFIER_RELEASEDto indicate a key has been released. Otherwise indicates a key has been pressed.
- dos_like.dos.KEY_F8: KeyCode = KeyCode.F8
Keyboard code.
May be bitwise or’d with
KEY_MODIFIER_RELEASEDto indicate a key has been released. Otherwise indicates a key has been pressed.
- dos_like.dos.KEY_F9: KeyCode = KeyCode.F9
Keyboard code.
May be bitwise or’d with
KEY_MODIFIER_RELEASEDto indicate a key has been released. Otherwise indicates a key has been pressed.
- dos_like.dos.KEY_F10: KeyCode = KeyCode.F10
Keyboard code.
May be bitwise or’d with
KEY_MODIFIER_RELEASEDto indicate a key has been released. Otherwise indicates a key has been pressed.
- dos_like.dos.KEY_F11: KeyCode = KeyCode.F11
Keyboard code.
May be bitwise or’d with
KEY_MODIFIER_RELEASEDto indicate a key has been released. Otherwise indicates a key has been pressed.
- dos_like.dos.KEY_F12: KeyCode = KeyCode.F12
Keyboard code.
May be bitwise or’d with
KEY_MODIFIER_RELEASEDto indicate a key has been released. Otherwise indicates a key has been pressed.
- dos_like.dos.KEY_F13: KeyCode = KeyCode.F13
Keyboard code.
May be bitwise or’d with
KEY_MODIFIER_RELEASEDto indicate a key has been released. Otherwise indicates a key has been pressed.
- dos_like.dos.KEY_F14: KeyCode = KeyCode.F14
Keyboard code.
May be bitwise or’d with
KEY_MODIFIER_RELEASEDto indicate a key has been released. Otherwise indicates a key has been pressed.
- dos_like.dos.KEY_F15: KeyCode = KeyCode.F15
Keyboard code.
May be bitwise or’d with
KEY_MODIFIER_RELEASEDto indicate a key has been released. Otherwise indicates a key has been pressed.
- dos_like.dos.KEY_F16: KeyCode = KeyCode.F16
Keyboard code.
May be bitwise or’d with
KEY_MODIFIER_RELEASEDto indicate a key has been released. Otherwise indicates a key has been pressed.
- dos_like.dos.KEY_F17: KeyCode = KeyCode.F17
Keyboard code.
May be bitwise or’d with
KEY_MODIFIER_RELEASEDto indicate a key has been released. Otherwise indicates a key has been pressed.
- dos_like.dos.KEY_F18: KeyCode = KeyCode.F18
Keyboard code.
May be bitwise or’d with
KEY_MODIFIER_RELEASEDto indicate a key has been released. Otherwise indicates a key has been pressed.
- dos_like.dos.KEY_F19: KeyCode = KeyCode.F19
Keyboard code.
May be bitwise or’d with
KEY_MODIFIER_RELEASEDto indicate a key has been released. Otherwise indicates a key has been pressed.
- dos_like.dos.KEY_F20: KeyCode = KeyCode.F20
Keyboard code.
May be bitwise or’d with
KEY_MODIFIER_RELEASEDto indicate a key has been released. Otherwise indicates a key has been pressed.
- dos_like.dos.KEY_F21: KeyCode = KeyCode.F21
Keyboard code.
May be bitwise or’d with
KEY_MODIFIER_RELEASEDto indicate a key has been released. Otherwise indicates a key has been pressed.
- dos_like.dos.KEY_F22: KeyCode = KeyCode.F22
Keyboard code.
May be bitwise or’d with
KEY_MODIFIER_RELEASEDto indicate a key has been released. Otherwise indicates a key has been pressed.
- dos_like.dos.KEY_F23: KeyCode = KeyCode.F23
Keyboard code.
May be bitwise or’d with
KEY_MODIFIER_RELEASEDto indicate a key has been released. Otherwise indicates a key has been pressed.
- dos_like.dos.KEY_F24: KeyCode = KeyCode.F24
Keyboard code.
May be bitwise or’d with
KEY_MODIFIER_RELEASEDto indicate a key has been released. Otherwise indicates a key has been pressed.
- dos_like.dos.KEY_NUMLOCK: KeyCode = KeyCode.NUMLOCK
Keyboard code.
May be bitwise or’d with
KEY_MODIFIER_RELEASEDto indicate a key has been released. Otherwise indicates a key has been pressed.
- dos_like.dos.KEY_SCROLL: KeyCode = KeyCode.SCROLL
Keyboard code.
May be bitwise or’d with
KEY_MODIFIER_RELEASEDto indicate a key has been released. Otherwise indicates a key has been pressed.
- dos_like.dos.KEY_LSHIFT: KeyCode = KeyCode.LSHIFT
Keyboard code.
May be bitwise or’d with
KEY_MODIFIER_RELEASEDto indicate a key has been released. Otherwise indicates a key has been pressed.
- dos_like.dos.KEY_RSHIFT: KeyCode = KeyCode.RSHIFT
Keyboard code.
May be bitwise or’d with
KEY_MODIFIER_RELEASEDto indicate a key has been released. Otherwise indicates a key has been pressed.
- dos_like.dos.KEY_LCONTROL: KeyCode = KeyCode.LCONTROL
Keyboard code.
May be bitwise or’d with
KEY_MODIFIER_RELEASEDto indicate a key has been released. Otherwise indicates a key has been pressed.
- dos_like.dos.KEY_RCONTROL: KeyCode = KeyCode.RCONTROL
Keyboard code.
May be bitwise or’d with
KEY_MODIFIER_RELEASEDto indicate a key has been released. Otherwise indicates a key has been pressed.
- dos_like.dos.KEY_LMENU: KeyCode = KeyCode.LMENU
Keyboard code.
May be bitwise or’d with
KEY_MODIFIER_RELEASEDto indicate a key has been released. Otherwise indicates a key has been pressed.
- dos_like.dos.KEY_RMENU: KeyCode = KeyCode.RMENU
Keyboard code.
May be bitwise or’d with
KEY_MODIFIER_RELEASEDto indicate a key has been released. Otherwise indicates a key has been pressed.
- dos_like.dos.KEY_BROWSER_BACK: KeyCode = KeyCode.BROWSER_BACK
Keyboard code.
May be bitwise or’d with
KEY_MODIFIER_RELEASEDto indicate a key has been released. Otherwise indicates a key has been pressed.
- dos_like.dos.KEY_BROWSER_FORWARD: KeyCode = KeyCode.BROWSER_FORWARD
Keyboard code.
May be bitwise or’d with
KEY_MODIFIER_RELEASEDto indicate a key has been released. Otherwise indicates a key has been pressed.
- dos_like.dos.KEY_BROWSER_REFRESH: KeyCode = KeyCode.BROWSER_REFRESH
Keyboard code.
May be bitwise or’d with
KEY_MODIFIER_RELEASEDto indicate a key has been released. Otherwise indicates a key has been pressed.
- dos_like.dos.KEY_BROWSER_STOP: KeyCode = KeyCode.BROWSER_STOP
Keyboard code.
May be bitwise or’d with
KEY_MODIFIER_RELEASEDto indicate a key has been released. Otherwise indicates a key has been pressed.
- dos_like.dos.KEY_BROWSER_SEARCH: KeyCode = KeyCode.BROWSER_SEARCH
Keyboard code.
May be bitwise or’d with
KEY_MODIFIER_RELEASEDto indicate a key has been released. Otherwise indicates a key has been pressed.
- dos_like.dos.KEY_BROWSER_FAVORITES: KeyCode = KeyCode.BROWSER_FAVORITES
Keyboard code.
May be bitwise or’d with
KEY_MODIFIER_RELEASEDto indicate a key has been released. Otherwise indicates a key has been pressed.
- dos_like.dos.KEY_BROWSER_HOME: KeyCode = KeyCode.BROWSER_HOME
Keyboard code.
May be bitwise or’d with
KEY_MODIFIER_RELEASEDto indicate a key has been released. Otherwise indicates a key has been pressed.
- dos_like.dos.KEY_VOLUME_MUTE: KeyCode = KeyCode.VOLUME_MUTE
Keyboard code.
May be bitwise or’d with
KEY_MODIFIER_RELEASEDto indicate a key has been released. Otherwise indicates a key has been pressed.
- dos_like.dos.KEY_VOLUME_DOWN: KeyCode = KeyCode.VOLUME_DOWN
Keyboard code.
May be bitwise or’d with
KEY_MODIFIER_RELEASEDto indicate a key has been released. Otherwise indicates a key has been pressed.
- dos_like.dos.KEY_VOLUME_UP: KeyCode = KeyCode.VOLUME_UP
Keyboard code.
May be bitwise or’d with
KEY_MODIFIER_RELEASEDto indicate a key has been released. Otherwise indicates a key has been pressed.
- dos_like.dos.KEY_MEDIA_NEXT_TRACK: KeyCode = KeyCode.MEDIA_NEXT_TRACK
Keyboard code.
May be bitwise or’d with
KEY_MODIFIER_RELEASEDto indicate a key has been released. Otherwise indicates a key has been pressed.
- dos_like.dos.KEY_MEDIA_PREV_TRACK: KeyCode = KeyCode.MEDIA_PREV_TRACK
Keyboard code.
May be bitwise or’d with
KEY_MODIFIER_RELEASEDto indicate a key has been released. Otherwise indicates a key has been pressed.
- dos_like.dos.KEY_MEDIA_STOP: KeyCode = KeyCode.MEDIA_STOP
Keyboard code.
May be bitwise or’d with
KEY_MODIFIER_RELEASEDto indicate a key has been released. Otherwise indicates a key has been pressed.
- dos_like.dos.KEY_MEDIA_PLAY_PAUSE: KeyCode = KeyCode.MEDIA_PLAY_PAUSE
Keyboard code.
May be bitwise or’d with
KEY_MODIFIER_RELEASEDto indicate a key has been released. Otherwise indicates a key has been pressed.
- dos_like.dos.KEY_LAUNCH_MAIL: KeyCode = KeyCode.LAUNCH_MAIL
Keyboard code.
May be bitwise or’d with
KEY_MODIFIER_RELEASEDto indicate a key has been released. Otherwise indicates a key has been pressed.
- dos_like.dos.KEY_LAUNCH_MEDIA_SELECT: KeyCode = KeyCode.LAUNCH_MEDIA_SELECT
Keyboard code.
May be bitwise or’d with
KEY_MODIFIER_RELEASEDto indicate a key has been released. Otherwise indicates a key has been pressed.
- dos_like.dos.KEY_LAUNCH_APP1: KeyCode = KeyCode.LAUNCH_APP1
Keyboard code.
May be bitwise or’d with
KEY_MODIFIER_RELEASEDto indicate a key has been released. Otherwise indicates a key has been pressed.
- dos_like.dos.KEY_LAUNCH_APP2: KeyCode = KeyCode.LAUNCH_APP2
Keyboard code.
May be bitwise or’d with
KEY_MODIFIER_RELEASEDto indicate a key has been released. Otherwise indicates a key has been pressed.
- dos_like.dos.KEY_OEM_1: KeyCode = KeyCode.OEM_1
Keyboard code.
May be bitwise or’d with
KEY_MODIFIER_RELEASEDto indicate a key has been released. Otherwise indicates a key has been pressed.
- dos_like.dos.KEY_OEM_PLUS: KeyCode = KeyCode.OEM_PLUS
Keyboard code.
May be bitwise or’d with
KEY_MODIFIER_RELEASEDto indicate a key has been released. Otherwise indicates a key has been pressed.
- dos_like.dos.KEY_OEM_COMMA: KeyCode = KeyCode.OEM_COMMA
Keyboard code.
May be bitwise or’d with
KEY_MODIFIER_RELEASEDto indicate a key has been released. Otherwise indicates a key has been pressed.
- dos_like.dos.KEY_OEM_MINUS: KeyCode = KeyCode.OEM_MINUS
Keyboard code.
May be bitwise or’d with
KEY_MODIFIER_RELEASEDto indicate a key has been released. Otherwise indicates a key has been pressed.
- dos_like.dos.KEY_OEM_PERIOD: KeyCode = KeyCode.OEM_PERIOD
Keyboard code.
May be bitwise or’d with
KEY_MODIFIER_RELEASEDto indicate a key has been released. Otherwise indicates a key has been pressed.
- dos_like.dos.KEY_OEM_2: KeyCode = KeyCode.OEM_2
Keyboard code.
May be bitwise or’d with
KEY_MODIFIER_RELEASEDto indicate a key has been released. Otherwise indicates a key has been pressed.
- dos_like.dos.KEY_OEM_3: KeyCode = KeyCode.OEM_3
Keyboard code.
May be bitwise or’d with
KEY_MODIFIER_RELEASEDto indicate a key has been released. Otherwise indicates a key has been pressed.
- dos_like.dos.KEY_OEM_4: KeyCode = KeyCode.OEM_4
Keyboard code.
May be bitwise or’d with
KEY_MODIFIER_RELEASEDto indicate a key has been released. Otherwise indicates a key has been pressed.
- dos_like.dos.KEY_OEM_5: KeyCode = KeyCode.OEM_5
Keyboard code.
May be bitwise or’d with
KEY_MODIFIER_RELEASEDto indicate a key has been released. Otherwise indicates a key has been pressed.
- dos_like.dos.KEY_OEM_6: KeyCode = KeyCode.OEM_6
Keyboard code.
May be bitwise or’d with
KEY_MODIFIER_RELEASEDto indicate a key has been released. Otherwise indicates a key has been pressed.
- dos_like.dos.KEY_OEM_7: KeyCode = KeyCode.OEM_7
Keyboard code.
May be bitwise or’d with
KEY_MODIFIER_RELEASEDto indicate a key has been released. Otherwise indicates a key has been pressed.
- dos_like.dos.KEY_OEM_8: KeyCode = KeyCode.OEM_8
Keyboard code.
May be bitwise or’d with
KEY_MODIFIER_RELEASEDto indicate a key has been released. Otherwise indicates a key has been pressed.
- dos_like.dos.KEY_OEM_102: KeyCode = KeyCode.OEM_102
Keyboard code.
May be bitwise or’d with
KEY_MODIFIER_RELEASEDto indicate a key has been released. Otherwise indicates a key has been pressed.
- dos_like.dos.KEY_PROCESSKEY: KeyCode = KeyCode.PROCESSKEY
Keyboard code.
May be bitwise or’d with
KEY_MODIFIER_RELEASEDto indicate a key has been released. Otherwise indicates a key has been pressed.
- dos_like.dos.KEY_ATTN: KeyCode = KeyCode.ATTN
Keyboard code.
May be bitwise or’d with
KEY_MODIFIER_RELEASEDto indicate a key has been released. Otherwise indicates a key has been pressed.
- dos_like.dos.KEY_CRSEL: KeyCode = KeyCode.CRSEL
Keyboard code.
May be bitwise or’d with
KEY_MODIFIER_RELEASEDto indicate a key has been released. Otherwise indicates a key has been pressed.
- dos_like.dos.KEY_EXSEL: KeyCode = KeyCode.EXSEL
Keyboard code.
May be bitwise or’d with
KEY_MODIFIER_RELEASEDto indicate a key has been released. Otherwise indicates a key has been pressed.
- dos_like.dos.KEY_EREOF: KeyCode = KeyCode.EREOF
Keyboard code.
May be bitwise or’d with
KEY_MODIFIER_RELEASEDto indicate a key has been released. Otherwise indicates a key has been pressed.
- dos_like.dos.KEY_PLAY: KeyCode = KeyCode.PLAY
Keyboard code.
May be bitwise or’d with
KEY_MODIFIER_RELEASEDto indicate a key has been released. Otherwise indicates a key has been pressed.
- dos_like.dos.KEY_ZOOM: KeyCode = KeyCode.ZOOM
Keyboard code.
May be bitwise or’d with
KEY_MODIFIER_RELEASEDto indicate a key has been released. Otherwise indicates a key has been pressed.
- dos_like.dos.KEY_NONAME: KeyCode = KeyCode.NONAME
Keyboard code.
May be bitwise or’d with
KEY_MODIFIER_RELEASEDto indicate a key has been released. Otherwise indicates a key has been pressed.
- dos_like.dos.KEY_PA1: KeyCode = KeyCode.PA1
Keyboard code.
May be bitwise or’d with
KEY_MODIFIER_RELEASEDto indicate a key has been released. Otherwise indicates a key has been pressed.
- dos_like.dos.KEY_OEM_CLEAR: KeyCode = KeyCode.OEM_CLEAR
Keyboard code.
May be bitwise or’d with
KEY_MODIFIER_RELEASEDto indicate a key has been released. Otherwise indicates a key has been pressed.
- dos_like.dos.KEYCOUNT: KeyCode = KeyCode.KEYCOUNT
Keyboard code.
May be bitwise or’d with
KEY_MODIFIER_RELEASEDto indicate a key has been released. Otherwise indicates a key has been pressed.
- dos_like.dos.KEYPADDING: KeyCode = KeyCode.KEYPADDING
Keyboard code.
May be bitwise or’d with
KEY_MODIFIER_RELEASEDto indicate a key has been released. Otherwise indicates a key has been pressed.