Recent input changes

Alan Coopersmith Alan.Coopersmith at Sun.COM
Wed Jan 28 18:56:45 PST 2009


Jeff Chua wrote:
> On Sun, Jan 25, 2009 at 4:55 AM, Joel Feiner <jafeiner at gmail.com> wrote:
>> xf86-input-keyboard also doesn't build with similar errors:
>>> kbd.c:567: warning: passing argument 1 of 'InitKeyboardDeviceStruct' from incompatible pointer type
>>> kbd.c:567: warning: passing argument 2 of 'InitKeyboardDeviceStruct' from incompatible pointer type
>>> kbd.c:567: warning: passing argument 3 of 'InitKeyboardDeviceStruct' from incompatible pointer type
>>> kbd.c:567: warning: passing argument 4 of 'InitKeyboardDeviceStruct' from incompatible pointer type
>>> kbd.c:567: error: too many arguments to function 'InitKeyboardDeviceStruct'
>>> kbd.c: In function 'PostKbdEvent':
>>> kbd.c:699: error: 'KeyClassRec' has no member named 'state'
>>> kbd.c:702: error: 'KeyClassRec' has no member named 'state'
>>> kbd.c:714: error: 'KeyClassRec' has no member named 'state'
>>> kbd.c:726: error: 'KeyClassRec' has no member named 'curKeySyms'
>>> kbd.c:727: error: 'KeyClassRec' has no member named 'curKeySyms'
>>> kbd.c:728: error: 'KeyClassRec' has no member named 'curKeySyms'
>>> kbd.c:791: error: 'KeyClassRec' has no member named 'modifierMap'
>>> kbd.c:847: error: 'KeyClassRec' has no member named 'modifierMap'
>>> kbd.c:854: error: 'KeyClassRec' has no member named 'modifierKeyMap'
>>> kbd.c:854: error: 'KeyClassRec' has no member named 'maxKeysPerModifier'
>>> kbd.c:857: error: 'KeyClassRec' has no member named 'modifierKeyMap'
>>> kbd.c:857: error: 'KeyClassRec' has no member named 'maxKeysPerModifier'
>>> kbd.c: At top level:
>>> kbd.c:863: warning: 'ModuleInfoRec' is deprecated
> 
> Any fix for this? I've tried the latest xserver. Compile fine. But
> xf86-input-keyboard still failed to compiled. Have tried with
> --disable-xnest, but still failed.

You might try applying
http://people.freedesktop.org/~daniels/kbd-pass-the-absinthe.diff
but that's probably no more tested than the other recent XKB changes.

-- 
	-Alan Coopersmith-           alan.coopersmith at sun.com
	 Sun Microsystems, Inc. - X Window System Engineering




More information about the xorg mailing list