Skip to content
forked from jinput/jinput

🎮 Java API for accessing input devices (sun api, spi ri is currently for mac only)

Notifications You must be signed in to change notification settings

umjammer/jinput

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Release Java CI CodeQL Java

JInput

logo

🎮 Library for access to input devices.

this library is

  • using jna directly instead of jni
  • using service-loader instead of proprietary plugin mechanism

and this is a fork of original

Install

Usage

SPIs

rumbler

References

License

Licensed under BSD License, copyright is attributed in each source file committed.

TODO

  • use proper ServiceLoader instead of proprietary plugin system (backport from vavi-awt-joystick)
  • linux spi not tested yet
  • windows wip, package name windows spi not tested yet
  • deprecate polling, use event listener?
  • native parts
    • backport cf lib to rococoa
    • separate jna parts as jna-platform-extended?
  • at windows, i mistake dword as 2byte
  • component value should be generics? (currently float fixed)

images by DualSense, Duke

About

🎮 Java API for accessing input devices (sun api, spi ri is currently for mac only)

Topics

Resources

Stars

Watchers

Forks

Languages

  • Java 98.3%
  • C 1.6%
  • HTML 0.1%