Java-Gaming.org Hi !
Featured games (83)
games approved by the League of Dukes
Games in Showcase (522)
Games in Android Showcase (127)
games submitted by our members
Games in WIP (591)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  Nightly builds  (Read 3600 times)
0 Members and 1 Guest are viewing this topic.
Offline endolf

JGO Coder


Medals: 7
Exp: 15 years


Current project release date: sometime in 3003


« Posted 2009-04-01 06:36:15 »

Hi

I've managed to get hudson up and running and building JInput for windows 32 and 64 bit, linux 32 and 64 bit and osx ppc, x86 and x86_64, at the moment it's dumping out nightly builds to here with the name jinput_nightly_<date>.zip. It's also updating the webstart demo and applet test.

Any volunteers to help test them? Smiley, if you do, can you let me know what OS your using, 32 or 64 bit (or PPC), and what controllers you tested.

Thanks

Endolf

Offline zammbi

JGO Coder


Medals: 4



« Reply #1 - Posted 2009-04-01 08:10:29 »

Seems to work fine here basically, though I'm not using any controllers.
Windows 7, 64bit.

It picks up my HP Quick Launch buttons but it only shows them all off and no changes when I press the buttons.
Not sure if this is a bug:
Caps lock/scroll lock picks up being pressed but then show off when there still on.

Current project - Rename and Sort
Offline CommanderKeith
« Reply #2 - Posted 2009-04-01 08:44:28 »

Wow, that's a cool demo, makes me want to use JInput!

It picked up my laptop's touchpad mouse and external mouse and the keyboard, windows vista. It made a blank window which said 'controller test'. Note sure if that's what it's supposed to be.

EDIT: I plugged in another external mouse and it recognised all 3 mice separately!!! that's pretty amazing

Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline endolf

JGO Coder


Medals: 7
Exp: 15 years


Current project release date: sometime in 3003


« Reply #3 - Posted 2009-04-01 11:37:48 »

Seems to work fine here basically, though I'm not using any controllers.
Windows 7, 64bit.
Cool, first reported test with windows 7 Smiley, were you using a 64bit browser and 64bit JRE?

Quote
It picks up my HP Quick Launch buttons but it only shows them all off and no changes when I press the buttons.

Hmm, no idea whats going on there, I've seen similar things under linux, but not windows before. I'm guessing it's extended button codes or something, I really ought to write some extra debugging utilities ... at some point Wink.

Quote
Not sure if this is a bug:
Caps lock/scroll lock picks up being pressed but then show off when there still on.
Nope, it's the caps/scroll lock key, rather than the function that it's measuring, so unless you hold the key down, it should return to the unpressed state, even if the caps/scroll lock is still on.

Thanks for testing it

Endolf

Offline endolf

JGO Coder


Medals: 7
Exp: 15 years


Current project release date: sometime in 3003


« Reply #4 - Posted 2009-04-01 11:42:17 »

It made a blank window which said 'controller test'. Note sure if that's what it's supposed to be.
Yup. That window is there partly incase no controllers are discovered, lets you know it's running.
Quote
EDIT: I plugged in another external mouse and it recognised all 3 mice separately!!! that's pretty amazing
Thats the raw input plugin at work (if you using windows). The downside is that if the application loses focus the mice/keyboards stop updating. There is an alternative plugin that will get events when the application loses focus, but it will only detect a combined keyboard/mouse.

What OS, JVM and jvm architecture were you using?

Thanks

Endolf

Offline zammbi

JGO Coder


Medals: 4



« Reply #5 - Posted 2009-04-01 11:47:08 »

Quote
Cool, first reported test with windows 7 Smiley, were you using a 64bit browser and 64bit JRE?

Ok I just tried internet explorer 64bit with the 64bit Java, the "Controller Read Test" pops up but no other window does.

Quote
Loading: net.java.games.input.DirectAndRawInputEnvironmentPlugin
java.lang.UnsatisfiedLinkError: Can't load library: C:\Users\Daniel\AppData\Local\Temp\\www.newdawnsoftware.com\jinput\natives\\jinput-dx8-64.dll
   at java.lang.ClassLoader.loadLibrary(Unknown Source)
   at java.lang.Runtime.load0(Unknown Source)
   at java.lang.System.load(Unknown Source)
   at net.java.games.input.DirectInputEnvironmentPlugin$1.run(DirectInputEnvironmentPlugin.java:73)
   at java.security.AccessController.doPrivileged(Native Method)
   at net.java.games.input.DirectInputEnvironmentPlugin.loadLibrary(DirectInputEnvironmentPlugin.java:67)
   at net.java.games.input.DirectInputEnvironmentPlugin.<clinit>(DirectInputEnvironmentPlugin.java:109)
   at net.java.games.input.DirectAndRawInputEnvironmentPlugin.<init>(DirectAndRawInputEnvironmentPlugin.java:45)
   at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
   at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
   at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
   at java.lang.reflect.Constructor.newInstance(Unknown Source)
   at java.lang.Class.newInstance0(Unknown Source)
   at java.lang.Class.newInstance(Unknown Source)
   at net.java.games.input.DefaultControllerEnvironment.getControllers(DefaultControllerEnvironment.java:157)
   at net.java.games.input.test.ControllerReadTest.<init>(ControllerReadTest.java:252)
   at net.java.games.input.applet.test.ControllerReadTestApplet.init(ControllerReadTestApplet.java:43)
   at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
   at java.lang.Thread.run(Unknown Source)
java.lang.UnsatisfiedLinkError: Can't load library: C:\Users\Daniel\AppData\Local\Temp\\www.newdawnsoftware.com\jinput\natives\\jinput-raw-64.dll
   at java.lang.ClassLoader.loadLibrary(Unknown Source)
   at java.lang.Runtime.load0(Unknown Source)
   at java.lang.System.load(Unknown Source)
   at net.java.games.input.RawInputEnvironmentPlugin$1.run(RawInputEnvironmentPlugin.java:73)
   at java.security.AccessController.doPrivileged(Native Method)
   at net.java.games.input.RawInputEnvironmentPlugin.loadLibrary(RawInputEnvironmentPlugin.java:67)
   at net.java.games.input.RawInputEnvironmentPlugin.<clinit>(RawInputEnvironmentPlugin.java:109)
   at net.java.games.input.DirectAndRawInputEnvironmentPlugin.<init>(DirectAndRawInputEnvironmentPlugin.java:46)
   at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
   at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
   at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
   at java.lang.reflect.Constructor.newInstance(Unknown Source)
   at java.lang.Class.newInstance0(Unknown Source)
   at java.lang.Class.newInstance(Unknown Source)
   at net.java.games.input.DefaultControllerEnvironment.getControllers(DefaultControllerEnvironment.java:157)
   at net.java.games.input.test.ControllerReadTest.<init>(ControllerReadTest.java:252)
   at net.java.games.input.applet.test.ControllerReadTestApplet.init(ControllerReadTestApplet.java:43)
   at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
   at java.lang.Thread.run(Unknown Source)
net.java.games.input.DirectAndRawInputEnvironmentPlugin is not supported

Current project - Rename and Sort
Offline endolf

JGO Coder


Medals: 7
Exp: 15 years


Current project release date: sometime in 3003


« Reply #6 - Posted 2009-04-01 12:03:00 »

Cool, thanks for the report, I'll take a look later when I'm home. Does the webstart version work on the 64bit javaws?

Cheers

Endolf

Offline endolf

JGO Coder


Medals: 7
Exp: 15 years


Current project release date: sometime in 3003


« Reply #7 - Posted 2009-04-01 12:11:23 »

D'oh!

I've very carefully named the libs in the build output to _64.dll for windows 64 bit, and then in the plugin I try to load -64.

I'll fix that later and would be gratefull if you'd give it another try on 64 bit JVM. I'll post back when it's done (shouldn't take long, should be home in 4.5 hours, hopefully new build up in 5 Smiley)

Cheers

Endolf

Offline Renoria

Junior Devvie




...


« Reply #8 - Posted 2009-04-01 14:35:54 »

I think I found a problem.. when you hold a key then click outside the window then release the key the key is still registered as down
Offline endolf

JGO Coder


Medals: 7
Exp: 15 years


Current project release date: sometime in 3003


« Reply #9 - Posted 2009-04-01 16:29:04 »

I think I found a problem.. when you hold a key then click outside the window then release the key the key is still registered as down
Thats the raw input plugin at work (if you using windows). The downside is that if the application loses focus the mice/keyboards stop updating. There is an alternative plugin that will get events when the application loses focus, but it will only detect a combined keyboard/mouse.

Thats the OS, nowt we can do about it in JInput. The demo application is designed to show JInput features. In your own application you could register an window listener on the awt windows and force keys to change value if you wish, but the calls down to the OS for raw input don't let us know whats going on.

HTH

Endolf

Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline zammbi

JGO Coder


Medals: 4



« Reply #10 - Posted 2009-04-01 21:31:54 »

Works fine now for the 64bit version. Nice one.

Current project - Rename and Sort
Offline endolf

JGO Coder


Medals: 7
Exp: 15 years


Current project release date: sometime in 3003


« Reply #11 - Posted 2009-04-01 21:35:48 »

Sweet Smiley

applet and webstart?

Thanks for testing this, it's my first 64 bit build and test Smiley

Cheers

Endolf

Offline endolf

JGO Coder


Medals: 7
Exp: 15 years


Current project release date: sometime in 3003


« Reply #12 - Posted 2009-04-01 21:37:04 »

and for those that care, the build logs are here

Endolf

Offline pederm

Junior Newbie





« Reply #13 - Posted 2009-04-14 15:41:22 »

64-bit Linux version seems to work fine with Sun JDK amd64 running in Ubuntu 8.10.
Pages: [1]
  ignore  |  Print  
 
 
You cannot reply to this message, because it is very, very old.

 

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

trollwarrior1 (34 views)
2014-11-22 12:13:56

xFryIx (73 views)
2014-11-13 12:34:49

digdugdiggy (52 views)
2014-11-12 21:11:50

digdugdiggy (46 views)
2014-11-12 21:10:15

digdugdiggy (40 views)
2014-11-12 21:09:33

kovacsa (66 views)
2014-11-07 19:57:14

TehJavaDev (70 views)
2014-11-03 22:04:50

BurntPizza (68 views)
2014-11-03 18:54:52

moogie (83 views)
2014-11-03 06:22:04

CopyableCougar4 (82 views)
2014-11-01 23:36:41
Understanding relations between setOrigin, setScale and setPosition in libGdx
by mbabuskov
2014-10-09 22:35:00

Definite guide to supporting multiple device resolutions on Android (2014)
by mbabuskov
2014-10-02 22:36:02

List of Learning Resources
by Longor1996
2014-08-16 10:40:00

List of Learning Resources
by SilverTiger
2014-08-05 19:33:27

Resources for WIP games
by CogWheelz
2014-08-01 16:20:17

Resources for WIP games
by CogWheelz
2014-08-01 16:19:50

List of Learning Resources
by SilverTiger
2014-07-31 16:29:50

List of Learning Resources
by SilverTiger
2014-07-31 16:26:06
java-gaming.org is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑gaming.org
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!