Net java games input jar

These files are containing the class net.java.games

net.java.games.input.AWTEnvironmentPlugin

net.java.games.input.AWTKeyboard

net.java.games.input.AWTKeyMap

Artifact awt-plugin
Group net.java.jinput
Version 2.0.9
Last update 01. June 2018
Tags: input library access devices
Organization not specified
URL Not specified
License not specified
Dependencies amount 1
Dependencies coreapi ,
There are maybe transitive dependencies!

net.java.games.input.AWTEnvironmentPlugin

net.java.games.input.AWTKeyboard

net.java.games.input.AWTKeyMap

Artifact awt-plugin
Group net.java.jinput
Version 2.0.8
Last update 25. May 2018
Tags: input library access devices
Organization not specified
URL Not specified
License not specified
Dependencies amount 1
Dependencies coreapi ,
There are maybe transitive dependencies!

net.java.games.input.Controller

net.java.games.input.AbstractController

net.java.games.input.PluginClassLoader

Artifact coreapi
Group net.java.jinput
Version 2.0.9
Last update 01. June 2018
Tags: input library access devices
Organization not specified
URL Not specified
License not specified
Dependencies amount 1
Dependencies jutils ,
There are maybe transitive dependencies!

net.java.games.input.Controller

net.java.games.input.AbstractController

net.java.games.input.PluginClassLoader

Artifact coreapi
Group net.java.jinput
Version 2.0.8
Last update 25. May 2018
Tags: input library access devices
Organization not specified
URL Not specified
License not specified
Dependencies amount 1
Dependencies jutils ,
There are maybe transitive dependencies!

Читайте также:  Php validate executablepath windows

net.java.games.input.RawDevice

net.java.games.input.DIKeyboard

net.java.games.input.DIDeviceObject

Artifact windows-plugin
Group net.java.jinput
Version 2.0.9
Last update 01. June 2018
Tags: input library access devices
Organization not specified
URL Not specified
License not specified
Dependencies amount 1
Dependencies coreapi ,
There are maybe transitive dependencies!

net.java.games.input.RawDevice

net.java.games.input.DIKeyboard

net.java.games.input.DIDeviceObject

Artifact windows-plugin
Group net.java.jinput
Version 2.0.8
Last update 25. May 2018
Tags: input library access devices
Organization not specified
URL Not specified
License not specified
Dependencies amount 1
Dependencies coreapi ,
There are maybe transitive dependencies!

net.java.games.input.ControllerTextTest

net.java.games.input.ControllerReadTest

net.java.games.input.VersionTest

Artifact tests
Group net.java.jinput
Version 2.0.9
Last update 01. June 2018
Tags: input library access devices
Organization not specified
URL Not specified
License not specified
Dependencies amount 2
Dependencies coreapi , applet ,
There are maybe transitive dependencies!

net.java.games.input.WinTabDevice

net.java.games.input.WinTabEnvironmentPlugin

net.java.games.input.WinTabComponent

Artifact wintab-plugin
Group net.java.jinput
Version 2.0.9
Last update 01. June 2018
Tags: input library access devices
Organization not specified
URL Not specified
License not specified
Dependencies amount 1
Dependencies windows-plugin ,
There are maybe transitive dependencies!

net.java.games.input.LinuxComponent

net.java.games.input.LinuxDeviceThread

net.java.games.input.LinuxJoystickAxis

Artifact linux-plugin
Group net.java.jinput
Version 2.0.9
Last update 01. June 2018
Tags: input library access devices
Organization not specified
URL Not specified
License not specified
Dependencies amount 1
Dependencies coreapi ,
There are maybe transitive dependencies!

net.java.games.input.LinuxComponent

net.java.games.input.LinuxDeviceThread

net.java.games.input.LinuxJoystickAxis

Artifact linux-plugin
Group net.java.jinput
Version 2.0.8
Last update 25. May 2018
Tags: input library access devices
Organization not specified
URL Not specified
License not specified
Dependencies amount 1
Dependencies coreapi ,
There are maybe transitive dependencies!

Page 1 from 22 (items total 214)

Источник

Download jinput-2.0.5.jar : jinput « j « Jar File Download

The download jar file contains the following class files or Java source files.

META-INF/MANIFEST.MF net.java.games.input.AWTEnvironmentPlugin.class net.java.games.input.AWTKeyMap.class net.java.games.input.AWTKeyboard.class net.java.games.input.AWTMouse.class net.java.games.input.AbstractComponent.class net.java.games.input.AbstractController.class net.java.games.input.ButtonUsage.class net.java.games.input.Component.class net.java.games.input.Controller.class net.java.games.input.ControllerEnvironment.class net.java.games.input.ControllerEvent.class net.java.games.input.ControllerListener.class net.java.games.input.DIAbstractController.class net.java.games.input.DIComponent.class net.java.games.input.DIControllers.class net.java.games.input.DIDeviceObject.class net.java.games.input.DIDeviceObjectData.class net.java.games.input.DIEffectInfo.class net.java.games.input.DIIdentifierMap.class net.java.games.input.DIKeyboard.class net.java.games.input.DIMouse.class net.java.games.input.DataQueue.class net.java.games.input.DefaultControllerEnvironment.class net.java.games.input.DirectAndRawInputEnvironmentPlugin.class net.java.games.input.DirectInputEnvironmentPlugin.class net.java.games.input.DummyWindow.class net.java.games.input.ElementType.class net.java.games.input.Event.class net.java.games.input.EventQueue.class net.java.games.input.GenericDesktopUsage.class net.java.games.input.IDirectInput.class net.java.games.input.IDirectInputDevice.class net.java.games.input.IDirectInputEffect.class net.java.games.input.Keyboard.class net.java.games.input.KeyboardUsage.class net.java.games.input.LinuxAbsInfo.class net.java.games.input.LinuxAbstractController.class net.java.games.input.LinuxAxisDescriptor.class net.java.games.input.LinuxCombinedController.class net.java.games.input.LinuxComponent.class net.java.games.input.LinuxConstantFF.class net.java.games.input.LinuxControllers.class net.java.games.input.LinuxDevice.class net.java.games.input.LinuxDeviceTask.class net.java.games.input.LinuxDeviceThread.class net.java.games.input.LinuxEnvironmentPlugin.class net.java.games.input.LinuxEvent.class net.java.games.input.LinuxEventComponent.class net.java.games.input.LinuxEventDevice.class net.java.games.input.LinuxForceFeedbackEffect.class net.java.games.input.LinuxInputID.class net.java.games.input.LinuxJoystickAbstractController.class net.java.games.input.LinuxJoystickAxis.class net.java.games.input.LinuxJoystickButton.class net.java.games.input.LinuxJoystickDevice.class net.java.games.input.LinuxJoystickEvent.class net.java.games.input.LinuxJoystickPOV.class net.java.games.input.LinuxKeyboard.class net.java.games.input.LinuxMouse.class net.java.games.input.LinuxNativeTypesMap.class net.java.games.input.LinuxPOV.class net.java.games.input.LinuxRumbleFF.class net.java.games.input.Mouse.class net.java.games.input.NativeDefinitions.class net.java.games.input.OSXAbstractController.class net.java.games.input.OSXComponent.class net.java.games.input.OSXControllers.class net.java.games.input.OSXEnvironmentPlugin.class net.java.games.input.OSXEvent.class net.java.games.input.OSXHIDDevice.class net.java.games.input.OSXHIDDeviceIterator.class net.java.games.input.OSXHIDElement.class net.java.games.input.OSXHIDQueue.class net.java.games.input.OSXKeyboard.class net.java.games.input.OSXMouse.class net.java.games.input.PluginClassLoader.class net.java.games.input.RawDevice.class net.java.games.input.RawDeviceInfo.class net.java.games.input.RawHIDInfo.class net.java.games.input.RawIdentifierMap.class net.java.games.input.RawInputEnvironmentPlugin.class net.java.games.input.RawInputEventQueue.class net.java.games.input.RawKeyboard.class net.java.games.input.RawKeyboardEvent.class net.java.games.input.RawKeyboardInfo.class net.java.games.input.RawMouse.class net.java.games.input.RawMouseEvent.class net.java.games.input.RawMouseInfo.class net.java.games.input.Rumbler.class net.java.games.input.SetupAPIDevice.class net.java.games.input.Usage.class net.java.games.input.UsagePage.class net.java.games.input.UsagePair.class net.java.games.input.Version.class net.java.games.input.WinTabButtonComponent.class net.java.games.input.WinTabComponent.class net.java.games.input.WinTabContext.class net.java.games.input.WinTabCursorComponent.class net.java.games.input.WinTabDevice.class net.java.games.input.WinTabEnvironmentPlugin.class net.java.games.input.WinTabPacket.class

java2s.com | © Demo Source and Support. All rights reserved.

Источник

Welcome to the Java Input API Project!

The JInput Project hosts an implementation of an API for game controller discovery and polled input. It is part of a suite of open-source technologies initiated by the Game Technology Group at Sun Microsystems with intention of making the development of high performance games in Java a reality.

The API itself is pure Java and presents a platform-neutral completely portable model of controller discovery and polling. It can handle arbitrary controllers and returns both human and machine understandable descriptions of the inputs available.

The implementation hosted here also includes plug-ins to allow the API to adapt to various specific platforms. These plug-ins often contain a native code portion to interface to the host system.

Getting Started

Maven

Include the dependency in your project:

   net.java.jinput jinput 2.0.9   net.java.jinput jinput 2.0.9 natives-all  

You’ll also need to add the build plugin in your build/plugins section of your pom

   com.googlecode.mavennatives maven-nativedependencies-plugin  

A full pom might look like this one

Without maven

The jar file with the java code in should be in maven central, you’ll need the jinput.jar and jinput-natives-all.jar that contains the native binaries.

Running

Add the jinput jar to your classpath, if you are using maven and have the native dependencies plugin working, it will have unpacked the native binaries to target/natives , you must specify the java.library.path property to point to this directy.

java -cp ~/.m2/repository/net/java/jinput/jinput/2.0.9/jinput-2.0.9.jar:target/examples-pom-2.0.9.jar -Djava.library.path=target/natives net.java.games.input.example.ReadFirstMouse 

java -cp : -Djava.library.path=

Usage

/* Create an event object for the underlying plugin to populate */ Event event = new Event(); /* Get the available controllers */ Controller[] controllers = ControllerEnvironment.getDefaultEnvironment().getControllers(); for (int i = 0; i  controllers.length; i++)  /* Remember to poll each one */ controllers[i].poll(); /* Get the controllers event queue */ EventQueue queue = controllers[i].getEventQueue(); /* For each object in the queue */ while (queue.getNextEvent(event))  /* Get event component */ Component comp = event.getComponent(); /* Process event (your awesome code) */ . > > 

This page was generated by GitHub Pages.

Источник

Оцените статью