Skip navigation links
JNA API 4.2.1

Class X11.XKeyboardControlRef

    • Field Detail

      • 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.
      • 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.
      • bell_duration

        public int bell_duration
        Duration of the bell specified in milliseconds, 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.
      • key

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

        public int auto_repeat_mode
        AutoRepeatModeOff, AutoRepeatModeOn, AutoRepeatModeDefault.
    • Constructor Detail

      • XKeyboardControlRef

        public XKeyboardControlRef()
    • Method Detail

      • getFieldOrder

        protected List getFieldOrder()
        Description copied from class: Structure
        Return this Structure's field names in their proper order. For example,
         protected List getFieldOrder() {
             return Arrays.asList(new String[] { ... });
        IMPORTANT When deriving from an existing Structure subclass, ensure that you augment the list provided by the superclass, e.g.
         protected List getFieldOrder() {
             List fields = new ArrayList(super.getFieldOrder());
             fields.addAll(Arrays.asList(new String[] { ... }));
             return fields;
        Field order must be explicitly indicated, since the field order as returned by Class.getFields() is not guaranteed to be predictable.
        Specified by:
        getFieldOrder in class Structure
        ordered list of field names
      • toString

        public String toString()
        Description copied from class: Structure
        If jna.dump_memory is true, will include a native memory dump of the Structure's backing memory.
        toString in class Structure
        String representation of this object.
JNA API 4.2.1

Copyright © 2007-2015 Timothy Wall. All Rights Reserved.