Class LinuxInputEventCodes
java.lang.Object
org.harctoolbox.harchardware.misc.LinuxInputEventCodes
This class contains some static stuff allowing access to the Linux keycodes in input-event-codes.h.
Presently, it runs on Linux only. We leave it as an exercise to the reader to make it portable.
-
Method Summary
Modifier and TypeMethodDescriptionstatic Integer
getKeyCode
(String key) static String
getKeyName
(int code) static boolean
hasKeyName
(String key) static void
-
Method Details
-
main
-
getKeyNames
-
hasKeyName
-
getKeyCode
-
getKeyName
-