com.sun.jna.examples.unix

Class X11.XKeyboardControlRef

public static class X11.XKeyboardControlRef extends Structure implements Structure.ByReference

Field Summary
intauto_repeat_mode
AutoRepeatModeOff, AutoRepeatModeOn, AutoRepeatModeDefault.
intbell_duration
Duration of the bell specified in milliseconds, if possible.
intbell_percent
Base volume for the bell between 0 (off) and 100 (loud) inclusive, if possible.
intbell_pitch
Pitch (specified in Hz) of the bell, if possible.
intkey
auto_repeat_mode can change the auto repeat settings of this key.
intkey_click_percent
Volume for key clicks between 0 (off) and 100 (loud) inclusive, if possible.
intled
State of the LEDs.
intled_mode
LED mode: LedModeOn or LedModeOff.
Method Summary
StringtoString()

Field Detail

auto_repeat_mode

public int auto_repeat_mode
AutoRepeatModeOff, AutoRepeatModeOn, AutoRepeatModeDefault.

bell_duration

public int bell_duration
Duration of the bell specified in milliseconds, if possible. A setting of -1 restores the default.

bell_percent

public int bell_percent
Base volume for the bell between 0 (off) and 100 (loud) inclusive, if possible. A setting of -1 restores the default.

bell_pitch

public int bell_pitch
Pitch (specified in Hz) of the bell, if possible. A setting of -1 restores the default.

key

public int key
auto_repeat_mode can change the auto repeat settings of this key.

key_click_percent

public int key_click_percent
Volume for key clicks between 0 (off) and 100 (loud) inclusive, if possible. A setting of -1 restores the default.

led

public int led
State of the LEDs. At most 32 LEDs numbered from one are supported.

led_mode

public int led_mode
LED mode: LedModeOn or LedModeOff.

Method Detail

toString

public String toString()
Copyright © 2007-2009 Timothy Wall. All Rights Reserved.