Next: xkeysymnames
Up: simxlib
Previous: xkeyboard
xkeyboardstate
NAME
xkeyboardstate - part of Simula to Xlib interface
DESCRIPTION
class XKeyboardState;
Objects of this class are creted as result of calls to
operation GetKeyboardControl in class X_Keyboard. The object
represents a consistent state of the keyboard at the call.
SUPERS: -
KIND: Returnvalue from XKeyBoard.GetKeyboardControl
INIT: initialized by GetKeyboardControl.
Sequencing:
(KeyClickPercent/BellPercent/BellPitch/BellDuration/Led/
:
GlobalAutoRepeateMode/AutoRepeatMode/AutoRepeatMode)*
QUERY OPERATIONS
KeyClickPercent
integer procedure KeyClickPercent;
Returns the volume for key clicks, 0 (off) and 100 (loud)
inclusive.
BellPercent
integer procedure BellPercent;
Returns the base volume for the bell, 0 (off) and 100 (loud)
inclusive.
BellPitch
integer procedure BellPitch;
Returns the pitch (specified in Hz) of the bell.
BellDuration
integer procedure BellDuration;
Returns the duration of the bell in milliseconds.
Led
boolean procedure Led(LedNbr); integer LedNbr;
Returns true if led LedNbr is lit.
GlobalAutoRepeateMode
integer procedure GlobalAutoRepeateMode;
Returns AutoRepeatModeOn or AutoRepeatModeOff. These
constants are available in class XKeyboard.
AutoRepeatMode
boolean procedure AutoRepeatMode(KeyNbr); integer
KeyNbr;
Returns true if key KeyNbr has auto repeat.