From 4ea94ca0fef7786ce21722cbb02a9cf069bdedd9 Mon Sep 17 00:00:00 2001 From: "Andrew Gallant (Ocelot)" Date: Sat, 26 May 2012 18:24:52 -0400 Subject: Bug fix in the generator that was outputting %(MISSING) crud. --- nexgb/xinput/xinput.go | 82 +++++++++++++++++++++++++------------------------- 1 file changed, 41 insertions(+), 41 deletions(-) (limited to 'nexgb/xinput') diff --git a/nexgb/xinput/xinput.go b/nexgb/xinput/xinput.go index 2ed45b8..6144528 100644 --- a/nexgb/xinput/xinput.go +++ b/nexgb/xinput/xinput.go @@ -2,7 +2,7 @@ package xinput /* - This file was generated by xinput.xml on May 11 2012 11:57:20pm EDT. + This file was generated by xinput.xml on May 26 2012 6:23:14pm EDT. This file is automatically generated. Edit at your peril! */ @@ -40,6 +40,8 @@ func init() { xgb.NewExtErrorFuncs["XInputExtension"] = make(map[int]xgb.NewErrorFun) } +// Skipping definition for base type 'Int32' + // Skipping definition for base type 'Void' // Skipping definition for base type 'Byte' @@ -62,8 +64,6 @@ func init() { // Skipping definition for base type 'Int16' -// Skipping definition for base type 'Int32' - const ( ValuatorModeRelative = 0 ValuatorModeAbsolute = 1 @@ -175,7 +175,7 @@ func (v DeviceInfo) Bytes() []byte { return buf } -// DeviceInfoListBytes writes a list of %s(MISSING) values to a byte slice. +// DeviceInfoListBytes writes a list of DeviceInfo values to a byte slice. func DeviceInfoListBytes(buf []byte, list []DeviceInfo) int { b := 0 var structBytes []byte @@ -229,7 +229,7 @@ func (v InputInfo) Bytes() []byte { return buf } -// InputInfoListBytes writes a list of %s(MISSING) values to a byte slice. +// InputInfoListBytes writes a list of InputInfo values to a byte slice. func InputInfoListBytes(buf []byte, list []InputInfo) int { b := 0 var structBytes []byte @@ -309,7 +309,7 @@ func (v KeyInfo) Bytes() []byte { return buf } -// KeyInfoListBytes writes a list of %s(MISSING) values to a byte slice. +// KeyInfoListBytes writes a list of KeyInfo values to a byte slice. func KeyInfoListBytes(buf []byte, list []KeyInfo) int { b := 0 var structBytes []byte @@ -370,7 +370,7 @@ func (v ButtonInfo) Bytes() []byte { return buf } -// ButtonInfoListBytes writes a list of %s(MISSING) values to a byte slice. +// ButtonInfoListBytes writes a list of ButtonInfo values to a byte slice. func ButtonInfoListBytes(buf []byte, list []ButtonInfo) int { b := 0 var structBytes []byte @@ -431,7 +431,7 @@ func (v AxisInfo) Bytes() []byte { return buf } -// AxisInfoListBytes writes a list of %s(MISSING) values to a byte slice. +// AxisInfoListBytes writes a list of AxisInfo values to a byte slice. func AxisInfoListBytes(buf []byte, list []AxisInfo) int { b := 0 var structBytes []byte @@ -512,7 +512,7 @@ func (v ValuatorInfo) Bytes() []byte { return buf } -// ValuatorInfoListBytes writes a list of %s(MISSING) values to a byte slice. +// ValuatorInfoListBytes writes a list of ValuatorInfo values to a byte slice. func ValuatorInfoListBytes(buf []byte, list []ValuatorInfo) int { b := 0 var structBytes []byte @@ -575,7 +575,7 @@ func (v InputClassInfo) Bytes() []byte { return buf } -// InputClassInfoListBytes writes a list of %s(MISSING) values to a byte slice. +// InputClassInfoListBytes writes a list of InputClassInfo values to a byte slice. func InputClassInfoListBytes(buf []byte, list []InputClassInfo) int { b := 0 var structBytes []byte @@ -622,7 +622,7 @@ func (v DeviceTimeCoord) Bytes() []byte { return buf } -// DeviceTimeCoordListBytes writes a list of %s(MISSING) values to a byte slice. +// DeviceTimeCoordListBytes writes a list of DeviceTimeCoord values to a byte slice. func DeviceTimeCoordListBytes(buf []byte, list []DeviceTimeCoord) int { b := 0 var structBytes []byte @@ -683,7 +683,7 @@ func (v FeedbackState) Bytes() []byte { return buf } -// FeedbackStateListBytes writes a list of %s(MISSING) values to a byte slice. +// FeedbackStateListBytes writes a list of FeedbackState values to a byte slice. func FeedbackStateListBytes(buf []byte, list []FeedbackState) int { b := 0 var structBytes []byte @@ -814,7 +814,7 @@ func (v KbdFeedbackState) Bytes() []byte { return buf } -// KbdFeedbackStateListBytes writes a list of %s(MISSING) values to a byte slice. +// KbdFeedbackStateListBytes writes a list of KbdFeedbackState values to a byte slice. func KbdFeedbackStateListBytes(buf []byte, list []KbdFeedbackState) int { b := 0 var structBytes []byte @@ -910,7 +910,7 @@ func (v PtrFeedbackState) Bytes() []byte { return buf } -// PtrFeedbackStateListBytes writes a list of %s(MISSING) values to a byte slice. +// PtrFeedbackStateListBytes writes a list of PtrFeedbackState values to a byte slice. func PtrFeedbackStateListBytes(buf []byte, list []PtrFeedbackState) int { b := 0 var structBytes []byte @@ -992,7 +992,7 @@ func (v IntegerFeedbackState) Bytes() []byte { return buf } -// IntegerFeedbackStateListBytes writes a list of %s(MISSING) values to a byte slice. +// IntegerFeedbackStateListBytes writes a list of IntegerFeedbackState values to a byte slice. func IntegerFeedbackStateListBytes(buf []byte, list []IntegerFeedbackState) int { b := 0 var structBytes []byte @@ -1081,7 +1081,7 @@ func (v StringFeedbackState) Bytes() []byte { return buf } -// StringFeedbackStateListBytes writes a list of %s(MISSING) values to a byte slice. +// StringFeedbackStateListBytes writes a list of StringFeedbackState values to a byte slice. func StringFeedbackStateListBytes(buf []byte, list []StringFeedbackState) int { b := 0 var structBytes []byte @@ -1177,7 +1177,7 @@ func (v BellFeedbackState) Bytes() []byte { return buf } -// BellFeedbackStateListBytes writes a list of %s(MISSING) values to a byte slice. +// BellFeedbackStateListBytes writes a list of BellFeedbackState values to a byte slice. func BellFeedbackStateListBytes(buf []byte, list []BellFeedbackState) int { b := 0 var structBytes []byte @@ -1252,7 +1252,7 @@ func (v LedFeedbackState) Bytes() []byte { return buf } -// LedFeedbackStateListBytes writes a list of %s(MISSING) values to a byte slice. +// LedFeedbackStateListBytes writes a list of LedFeedbackState values to a byte slice. func LedFeedbackStateListBytes(buf []byte, list []LedFeedbackState) int { b := 0 var structBytes []byte @@ -1313,7 +1313,7 @@ func (v FeedbackCtl) Bytes() []byte { return buf } -// FeedbackCtlListBytes writes a list of %s(MISSING) values to a byte slice. +// FeedbackCtlListBytes writes a list of FeedbackCtl values to a byte slice. func FeedbackCtlListBytes(buf []byte, list []FeedbackCtl) int { b := 0 var structBytes []byte @@ -1430,7 +1430,7 @@ func (v KbdFeedbackCtl) Bytes() []byte { return buf } -// KbdFeedbackCtlListBytes writes a list of %s(MISSING) values to a byte slice. +// KbdFeedbackCtlListBytes writes a list of KbdFeedbackCtl values to a byte slice. func KbdFeedbackCtlListBytes(buf []byte, list []KbdFeedbackCtl) int { b := 0 var structBytes []byte @@ -1517,7 +1517,7 @@ func (v PtrFeedbackCtl) Bytes() []byte { return buf } -// PtrFeedbackCtlListBytes writes a list of %s(MISSING) values to a byte slice. +// PtrFeedbackCtlListBytes writes a list of PtrFeedbackCtl values to a byte slice. func PtrFeedbackCtlListBytes(buf []byte, list []PtrFeedbackCtl) int { b := 0 var structBytes []byte @@ -1585,7 +1585,7 @@ func (v IntegerFeedbackCtl) Bytes() []byte { return buf } -// IntegerFeedbackCtlListBytes writes a list of %s(MISSING) values to a byte slice. +// IntegerFeedbackCtlListBytes writes a list of IntegerFeedbackCtl values to a byte slice. func IntegerFeedbackCtlListBytes(buf []byte, list []IntegerFeedbackCtl) int { b := 0 var structBytes []byte @@ -1672,7 +1672,7 @@ func (v StringFeedbackCtl) Bytes() []byte { return buf } -// StringFeedbackCtlListBytes writes a list of %s(MISSING) values to a byte slice. +// StringFeedbackCtlListBytes writes a list of StringFeedbackCtl values to a byte slice. func StringFeedbackCtlListBytes(buf []byte, list []StringFeedbackCtl) int { b := 0 var structBytes []byte @@ -1768,7 +1768,7 @@ func (v BellFeedbackCtl) Bytes() []byte { return buf } -// BellFeedbackCtlListBytes writes a list of %s(MISSING) values to a byte slice. +// BellFeedbackCtlListBytes writes a list of BellFeedbackCtl values to a byte slice. func BellFeedbackCtlListBytes(buf []byte, list []BellFeedbackCtl) int { b := 0 var structBytes []byte @@ -1843,7 +1843,7 @@ func (v LedFeedbackCtl) Bytes() []byte { return buf } -// LedFeedbackCtlListBytes writes a list of %s(MISSING) values to a byte slice. +// LedFeedbackCtlListBytes writes a list of LedFeedbackCtl values to a byte slice. func LedFeedbackCtlListBytes(buf []byte, list []LedFeedbackCtl) int { b := 0 var structBytes []byte @@ -1904,7 +1904,7 @@ func (v InputState) Bytes() []byte { return buf } -// InputStateListBytes writes a list of %s(MISSING) values to a byte slice. +// InputStateListBytes writes a list of InputState values to a byte slice. func InputStateListBytes(buf []byte, list []InputState) int { b := 0 var structBytes []byte @@ -1978,7 +1978,7 @@ func (v KeyState) Bytes() []byte { return buf } -// KeyStateListBytes writes a list of %s(MISSING) values to a byte slice. +// KeyStateListBytes writes a list of KeyState values to a byte slice. func KeyStateListBytes(buf []byte, list []KeyState) int { b := 0 var structBytes []byte @@ -2061,7 +2061,7 @@ func (v ButtonState) Bytes() []byte { return buf } -// ButtonStateListBytes writes a list of %s(MISSING) values to a byte slice. +// ButtonStateListBytes writes a list of ButtonState values to a byte slice. func ButtonStateListBytes(buf []byte, list []ButtonState) int { b := 0 var structBytes []byte @@ -2152,7 +2152,7 @@ func (v ValuatorState) Bytes() []byte { return buf } -// ValuatorStateListBytes writes a list of %s(MISSING) values to a byte slice. +// ValuatorStateListBytes writes a list of ValuatorState values to a byte slice. func ValuatorStateListBytes(buf []byte, list []ValuatorState) int { b := 0 var structBytes []byte @@ -2215,7 +2215,7 @@ func (v DeviceState) Bytes() []byte { return buf } -// DeviceStateListBytes writes a list of %s(MISSING) values to a byte slice. +// DeviceStateListBytes writes a list of DeviceState values to a byte slice. func DeviceStateListBytes(buf []byte, list []DeviceState) int { b := 0 var structBytes []byte @@ -2318,7 +2318,7 @@ func (v DeviceResolutionState) Bytes() []byte { return buf } -// DeviceResolutionStateListBytes writes a list of %s(MISSING) values to a byte slice. +// DeviceResolutionStateListBytes writes a list of DeviceResolutionState values to a byte slice. func DeviceResolutionStateListBytes(buf []byte, list []DeviceResolutionState) int { b := 0 var structBytes []byte @@ -2437,7 +2437,7 @@ func (v DeviceAbsCalibState) Bytes() []byte { return buf } -// DeviceAbsCalibStateListBytes writes a list of %s(MISSING) values to a byte slice. +// DeviceAbsCalibStateListBytes writes a list of DeviceAbsCalibState values to a byte slice. func DeviceAbsCalibStateListBytes(buf []byte, list []DeviceAbsCalibState) int { b := 0 var structBytes []byte @@ -2533,7 +2533,7 @@ func (v DeviceAbsAreaState) Bytes() []byte { return buf } -// DeviceAbsAreaStateListBytes writes a list of %s(MISSING) values to a byte slice. +// DeviceAbsAreaStateListBytes writes a list of DeviceAbsAreaState values to a byte slice. func DeviceAbsAreaStateListBytes(buf []byte, list []DeviceAbsAreaState) int { b := 0 var structBytes []byte @@ -2606,7 +2606,7 @@ func (v DeviceCoreState) Bytes() []byte { return buf } -// DeviceCoreStateListBytes writes a list of %s(MISSING) values to a byte slice. +// DeviceCoreStateListBytes writes a list of DeviceCoreState values to a byte slice. func DeviceCoreStateListBytes(buf []byte, list []DeviceCoreState) int { b := 0 var structBytes []byte @@ -2672,7 +2672,7 @@ func (v DeviceEnableState) Bytes() []byte { return buf } -// DeviceEnableStateListBytes writes a list of %s(MISSING) values to a byte slice. +// DeviceEnableStateListBytes writes a list of DeviceEnableState values to a byte slice. func DeviceEnableStateListBytes(buf []byte, list []DeviceEnableState) int { b := 0 var structBytes []byte @@ -2726,7 +2726,7 @@ func (v DeviceCtl) Bytes() []byte { return buf } -// DeviceCtlListBytes writes a list of %s(MISSING) values to a byte slice. +// DeviceCtlListBytes writes a list of DeviceCtl values to a byte slice. func DeviceCtlListBytes(buf []byte, list []DeviceCtl) int { b := 0 var structBytes []byte @@ -2808,7 +2808,7 @@ func (v DeviceResolutionCtl) Bytes() []byte { return buf } -// DeviceResolutionCtlListBytes writes a list of %s(MISSING) values to a byte slice. +// DeviceResolutionCtlListBytes writes a list of DeviceResolutionCtl values to a byte slice. func DeviceResolutionCtlListBytes(buf []byte, list []DeviceResolutionCtl) int { b := 0 var structBytes []byte @@ -2927,7 +2927,7 @@ func (v DeviceAbsCalibCtl) Bytes() []byte { return buf } -// DeviceAbsCalibCtlListBytes writes a list of %s(MISSING) values to a byte slice. +// DeviceAbsCalibCtlListBytes writes a list of DeviceAbsCalibCtl values to a byte slice. func DeviceAbsCalibCtlListBytes(buf []byte, list []DeviceAbsCalibCtl) int { b := 0 var structBytes []byte @@ -3023,7 +3023,7 @@ func (v DeviceAbsAreaCtrl) Bytes() []byte { return buf } -// DeviceAbsAreaCtrlListBytes writes a list of %s(MISSING) values to a byte slice. +// DeviceAbsAreaCtrlListBytes writes a list of DeviceAbsAreaCtrl values to a byte slice. func DeviceAbsAreaCtrlListBytes(buf []byte, list []DeviceAbsAreaCtrl) int { b := 0 var structBytes []byte @@ -3089,7 +3089,7 @@ func (v DeviceCoreCtrl) Bytes() []byte { return buf } -// DeviceCoreCtrlListBytes writes a list of %s(MISSING) values to a byte slice. +// DeviceCoreCtrlListBytes writes a list of DeviceCoreCtrl values to a byte slice. func DeviceCoreCtrlListBytes(buf []byte, list []DeviceCoreCtrl) int { b := 0 var structBytes []byte @@ -3155,7 +3155,7 @@ func (v DeviceEnableCtrl) Bytes() []byte { return buf } -// DeviceEnableCtrlListBytes writes a list of %s(MISSING) values to a byte slice. +// DeviceEnableCtrlListBytes writes a list of DeviceEnableCtrl values to a byte slice. func DeviceEnableCtrlListBytes(buf []byte, list []DeviceEnableCtrl) int { b := 0 var structBytes []byte -- cgit v1.2.3-70-g09d2