The INI File: 2.9 Categories in the INI File: [keyboard]

Up: GEOS SDK TechDocs | Up | Prev: 2.8 [input] | Next: 2.10 [label]

device

device = <full device name>

This key defines the keyboard in use. It must be the keyboard device's full name; in general, this should only be set by the Preferences manager application.

device = U.S. Keyboard

driver

driver = <driver file name>

This key goes with the device key and defines the driver file name to be loaded. This should be set by the Preferences manager.

driver = kbd.geo

keyboardTypematic

keyboardTypematic = <number>

This key defines both the repeat speed and delay before repeat for the keyboard. The number is an integer less than 128 (the high bit is ignored), and it is interpreted as three separate fields, as below:

bit 7		ignored
bit 6-5		DELAY (see below)
bit 4-3		PE (exponent portion of repeat period)
bit 2-0		PM (mantissa portion of repeat period)
The delay is calculated by the following formula:
delay = 1 second + (DELAY * 250 ms) +/- 20%
The period is calculated by the following formula
period = (8 + PM) * (2^PE) * 0.00417 seconds

If no typematic number is specified, GEOS sets the default to 44, which represents a medium delay and a medium repeat period.

keyboardTypematic = 0				; short delay, fast repeat
keyboardTypematic = 127				; long dalay, slow repeat

keyboardDoesLEDs

keyboardDoesLEDs = <Boolean>

If true, this key tells GEOS that the XT-class machine it's running on supports BIOS-updated LEDs for Num Lock, Caps Lock, and Scroll Lock. Most XT-class machines do not support updating these LEDs. This field is unnecessary on AT-class and more advanced machines.

keyboardDoesLEDs = true
keyboardDoesLEDs = false

keyboardAltGr

keyboardAltGr = <Boolean>

If true, this key makes the right Alt key function like Ctrl-Alt, as with many European setups.

keyboardAltGr = true
keyboardAltGr = false

keyboardShiftRelStr

keyboardShiftRelStr = <Boolean>

If true, this key makes the Shift keys release the Caps Lock, as with typewriters.

keyboardShiftRelStr = true
keyboardShiftRelStr = false

keyboardSwapCtrl

keyboardSwapCtrl = <Boolean>

If true, this key swaps the left Ctrl key with the Caps Lock key so the keyboard acts like many non-PC keyboards.

keyboardSwapCtrl = true
keyboardSwapCtrl = false

Up: GEOS SDK TechDocs | Up | Prev: 2.8 [input] | Next: 2.10 [label]