pcjs/devices/pc/keyboard
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2016-03-23 16:53:13 -07:00
..
8042_1503033.TXT Initial commit (a clone of the jsmachines project as of v1.15.3) 2014-09-27 14:52:57 -07:00
8042_INTERN.TXT Initial commit (a clone of the jsmachines project as of v1.15.3) 2014-09-27 14:52:57 -07:00
dasm42.c Updated the 5170 BIOS map, updated 8042 info, fixed some 8042 controller commands, made HLT work, and fixed the debugger's history buffer when executing a mix of real-mode and protected-mode instructions 2014-10-01 17:33:17 -07:00
README.md Fixed broken links 2016-03-13 20:05:13 -07:00
us83-buttons-arrows.xml Missed a keyboard layout 2016-03-10 08:06:36 -08:00
us83-buttons-functions.xml Reorganized keyboard layouts 2016-03-10 07:45:11 -08:00
us83-buttons-minimal.xml Reorganized keyboard layouts 2016-03-10 07:45:11 -08:00
us83-buttons-mpc1600.xml Disk library updates 2016-03-23 16:53:13 -07:00
us83-buttons-z150.xml Disk library updates 2016-03-23 16:53:13 -07:00
us83-softkeys.xml Reorganized keyboard layouts 2016-03-10 07:45:11 -08:00
us84-buttons-arrows.xml Reorganized keyboard layouts 2016-03-10 07:45:11 -08:00
us84-buttons-functions.xml Reorganized keyboard layouts 2016-03-10 07:45:11 -08:00
us84-buttons-test.xml Reorganized keyboard layouts 2016-03-10 07:45:11 -08:00

layout title permalink
page IBM PC Keyboard Devices /devices/pc/keyboard/

IBM PC Keyboard Devices

Keyboard Configuration Files

The easiest way for a machine to include a Keyboard component in its XML configuration file is to reference one of the project's keyboard configuration files, using the ref attribute; eg:

<keyboard ref="/devices/pc/keyboard/us83-buttons-minimal.xml"/>

The referenced XML file automatically defines the keyboard's hardware characteristics (eg, model) and any visual elements, such as buttons to simulate common keystrokes, or even complete "soft keyboard" layouts.

Here's what us83-buttons-minimal.xml currently looks like:

<keyboard id="keyboard" model="us83" pos="left" padleft="8px" padbottom="8px">
    <control type="button" binding="esc">ESC</control>
    <control type="button" binding="f1">F1</control>
    <control type="button" binding="f10">F10</control>
</keyboard>

The following IBM keyboard configuration files are currently available:

8042 Keyboard Controller Internals

The following documents were obtained from halicery.com:

Additional information (eg, undocumented 8042 commands) is also available from OS/2 Museum.