[Bug 723427] Review Request: jinput - Java Game Controller API

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.


https://bugzilla.redhat.com/show_bug.cgi?id=723427

--- Comment #2 from Jerry James <loganjerry@xxxxxxxxx> 2011-08-01 16:44:23 EDT ---
Created attachment 516209
  --> https://bugzilla.redhat.com/attachment.cgi?id=516209
Patch to update the <linux/input.h> interface

FWIW, one fix is to change line 116 of
plugins/linux/src/native/net_java_games_input_LinuxEventDevice.c from:

#if EV_VERSION >= 0x010001

to:

#ifdef EVIOCGUSAGE

But I think that fix is insufficient.  Note that
plugins/linux/src/java/net/java/games/input/NativeDefinitions.java is out of
sync with /usr/include/linux/input.h, and regenerating it (with "ant -f
plugins/linux/src/native/build.xml createNativeDefinitions.java") causes Java
compilation to fail due to appearances of USAGE_* constants that no longer
exist in <linux/input.h>.  I think that NativeDefinitions.java should be
regenerated, and all mention of the USAGE stuff should be ripped out, as in the
attached patch.

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
package-review mailing list
package-review@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/package-review


[Index of Archives]     [Fedora Legacy]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]