mirror of
https://gitlab.freedesktop.org/xorg/proto/xcbproto.git
synced 2026-05-06 17:18:06 +02:00
xkb: Add missing LedClass and BellClass enum values
The protocol encoding says: http://www.x.org/releases/current/doc/kbproto/xkbproto.html#appD::Common_Types KB_LEDCLASSRESULT 0 KbdFeedbackClass 4 LedFeedbackClass KB_LEDCLASSSPEC Encoding same as KB_LEDCLASSRESULT, with the addition of: #x0300 XkbDfltXIClass #x0500 XkbAllXIClasses KB_BELLCLASSRESULT 0 KbdFeedbackClass 5 BellFeedbackClass KB_BELLCLASSSPEC Encoding same as KB_BELLCLASSRESULT, with the addition of: #x0300 XkbDfltXIClass Note that the spec says something slightly different in another section: http://www.x.org/releases/current/doc/kbproto/xkbproto.html#Common_Types KB_LEDCLASSSPEC { KbdFeedbackClass , LedFeedbackClass , DfltXIClass , AllXIClasses , XINone } KB_BELLCLASSSPEC { KbdFeedbackClass , BellFeedbackClass , DfltXIClass , AllXIClasses }} From what I could gather, the encoding is the correct one (but I'm not sure). Signed-off-by: Ran Benita <ran234@gmail.com> Reviewed-by: Daniel Martin <consume.noise@gmail.com>
This commit is contained in:
parent
e56a0599d6
commit
bd7708ac10
1 changed files with 7 additions and 3 deletions
10
src/xkb.xml
10
src/xkb.xml
|
|
@ -161,8 +161,10 @@ authorization from the authors.
|
|||
</enum>
|
||||
|
||||
<enum name="LedClass">
|
||||
<item name="DfltXIClass"> <value>768</value> </item> <!--0x300-->
|
||||
<item name="AllXIClasses"> <value>1280</value> </item> <!--0x500-->
|
||||
<item name="KbdFeedbackClass"> <value>0</value> </item>
|
||||
<item name="LedFeedbackClass"> <value>4</value> </item>
|
||||
<item name="DfltXIClass"> <value>768</value> </item> <!--0x300-->
|
||||
<item name="AllXIClasses"> <value>1280</value> </item> <!--0x500-->
|
||||
</enum>
|
||||
<typedef oldname="CARD16" newname="LedClassSpec" />
|
||||
|
||||
|
|
@ -172,7 +174,9 @@ authorization from the authors.
|
|||
</enum>
|
||||
|
||||
<enum name="BellClass">
|
||||
<item name="DfltXIClass"> <value>768</value> </item> <!--0x300-->
|
||||
<item name="KbdFeedbackClass"> <value>0</value> </item>
|
||||
<item name="BellFeedbackClass"> <value>5</value> </item>
|
||||
<item name="DfltXIClass"> <value>768</value> </item> <!--0x300-->
|
||||
</enum>
|
||||
<typedef oldname="CARD16" newname="BellClassSpec" />
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue