{"repo":"gurkenlabs/input4j","free":true,"listed":false,"github":"https://github.com/gurkenlabs/input4j","clone":"git clone https://github.com/gurkenlabs/input4j.git","description":"Input4j 🎮 The modern and cross-platform Java stack for unified gamepad and controller input","language":"Java","stars":26,"topics":["cross-platform","directinput","evdev","ffm-api","foreign-function-and-memory-api","input","iokit","java","linux","macos"],"license":"MIT","category":"game-templates","readme_excerpt":"🎮 Input4j - The modern Java controller and gamepad stack Input4j is a modern Java input library built on the Foreign Function & Memory API (FFM) . It provides fast, cross-platform controller and gamepad input without requiring JNI or native binaries. 🚀 Features - 🎮 Game controller input support - ⚡ Native performance via Java FFM API - 🧩 No JNI required - 🖥 Cross-platform (Windows / Linux / macOS) - 📦 Available on Maven Central - 🧪 Lightweight and dependency-free Why input4j? - Cross-Platform Input handling : Fully compatible with Windows, Linux, and OSX. - Performance : Optimized for high performance with minimal overhead. - Flexible Input Handling : Supports both polling and event-based input mechanisms. - Simplicity : Easy to integrate and use with straightforward APIs. - Future-Proof : Built on the latest Java technologies, ensuring long-term support and compatibility. 🆚 Advantages over traditional java input libraries Input4j offers several advantages over traditional libraries like JInput by leveraging the new Foreign Function & Memory API (FFM API) instead of using Java Native Interface (JNI). It is a more modern and efficient JNI alternative and an easy way to interact with native input libraries, providing the following benefits: - No Native Artifacts & No Dependencies: Direct interaction with native libraries without the need for additional native artifacts simplifies the build and deployment process. - Performance: Based on the FFM API, this library reduces","default_branch":null,"files":null,"tree":[],"storefront":"/r/gurkenlabs","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/gurkenlabs/input4j/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}