From bd7708ac1037e647b094fa7440ebb6171b9bc75f Mon Sep 17 00:00:00 2001 From: Ran Benita Date: Mon, 12 Aug 2013 12:18:59 +0300 Subject: 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 Reviewed-by: Daniel Martin --- src/xkb.xml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/src/xkb.xml b/src/xkb.xml index a5f808e..b702cad 100644 --- a/src/xkb.xml +++ b/src/xkb.xml @@ -161,8 +161,10 @@ authorization from the authors. - 768 - 1280 + 0 + 4 + 768 + 1280 @@ -172,7 +174,9 @@ authorization from the authors. - 768 + 0 + 5 + 768 -- cgit v1.2.3