Java-Gaming.org    
Featured games (81)
games approved by the League of Dukes
Games in Showcase (482)
Games in Android Showcase (110)
games submitted by our members
Games in WIP (550)
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  
  Anyone even *tried* the linux plugin  (Read 2774 times)
0 Members and 1 Guest are viewing this topic.
Offline endolf

JGO Coder


Medals: 7


Current project release date: sometime in 3003


« Posted 2003-08-11 13:23:33 »

Hi
 I've not received or read about any bugs with the linux plugin for jinput, so would I be correct that no-one has tried it?, if you have and it works i'd also like to know Smiley, bug reports are welcome.

Cheers

Endolf

Offline gregorypierce

Senior Member




I come upon thee like the blue screen of death....


« Reply #1 - Posted 2003-08-11 16:46:55 »

JInput (like JOAL) are two APIs that haven't been truly exploited yet. Give 'em some time Smiley

http://www.gregorypierce.com

She builds, she builds oh man
When she links, she links I go crazy
Cause she looks like good code but she's really a hack
I think I'll run upstairs and grab a snack!
Offline Jeff

JGO Coder




Got any cats?


« Reply #2 - Posted 2003-08-12 01:35:35 »

Its on my list...  but its a  long list... Sad

Got a question about Java and game programming?  Just new to the Java Game Development Community?  Try my FAQ.  Its likely you'll learn something!

http://wiki.java.net/bin/view/Games/JeffFAQ
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline swpalmer

JGO Coder




Where's the Kaboom?


« Reply #3 - Posted 2003-08-12 01:57:24 »

Are there any unit test in the CVS codebase yet?  If you have some test code I will try to give it a whirl on my Linux box.  I think tests for jUnit are on the ToDo list anyway.

Offline endolf

JGO Coder


Medals: 7


Current project release date: sometime in 3003


« Reply #4 - Posted 2003-08-12 05:25:15 »

Hi
 OK, that confirms what I thought Smiley, how do you plan on doing unit testing on the native library without sitting there with a joystick and twiddling witht he buttons and axis and thumping the keyboard every now and then? Smiley

Cheers

Endolf

Offline swpalmer

JGO Coder




Where's the Kaboom?


« Reply #5 - Posted 2003-08-12 11:09:52 »

Good point... perhaps there will be a bit of UI to the tests.

E.g. first a simple press a key.. if it isn't pressed within 10 seconds the test fails.

Then for each controller.. press and release all buttons (one at a time).  The test can pass once all buttons have been observed in both the pressed and unpressed states.  Fail with a timeout, or maybe 'Esc' detected via AWT.

Then try each analog axis, confirm more than just 2 values read back from them.

Not perfect, actually not much better than ControllerReadTest.. hmmm.  and actually since my Powerbook reports 2 mouse buttons but has only one mouse button it would always fail Smiley argh...

I'll try to get the ControllerReadTest going on my Linux box tonight.  I will only be able to test mouse and keyboard.

Offline gregorypierce

Senior Member




I come upon thee like the blue screen of death....


« Reply #6 - Posted 2003-08-12 14:24:40 »

There is unfortunately no reasonable way to do JUnit tests with external devices since someone has to actually be sitting there pressing the keys and confirming that what was pressed is what the correct result is on the screen. Same for joysticks, rumble and the like. Since all of the stimulus requires an external entity, automated testing won't work.

http://www.gregorypierce.com

She builds, she builds oh man
When she links, she links I go crazy
Cause she looks like good code but she's really a hack
I think I'll run upstairs and grab a snack!
Offline swpalmer

JGO Coder




Where's the Kaboom?


« Reply #7 - Posted 2003-08-12 15:28:27 »

Well 'automated' testing won't work, but that doesn't mean that we shouldn't have a test suite to make it is easy to cover all the manual testing that should be done.

The only automated testing would be something that runs on a system with known devices and checks that at least all the controls are reported properly in in the idle state.  E.g. make sure the mouse has a mouse ball, the keyboard has keys, and that no buttons are stuck on.  Not that impressive I guess...

Offline gregorypierce

Senior Member




I come upon thee like the blue screen of death....


« Reply #8 - Posted 2003-08-12 15:44:45 »

Yeah, that's not particularly useful Smiley

http://www.gregorypierce.com

She builds, she builds oh man
When she links, she links I go crazy
Cause she looks like good code but she's really a hack
I think I'll run upstairs and grab a snack!
Offline Jeff

JGO Coder




Got any cats?


« Reply #9 - Posted 2003-08-13 20:11:16 »

Well, my nascent idea for Junit tests is to have a "testing plug-in" that fakes the outside world with well known results.

Granted this won't test plug-in changes but it will at least test that the core is still in decent shape.

Got a question about Java and game programming?  Just new to the Java Game Development Community?  Try my FAQ.  Its likely you'll learn something!

http://wiki.java.net/bin/view/Games/JeffFAQ
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.

CopyableCougar4 (14 views)
2014-08-22 19:31:30

atombrot (28 views)
2014-08-19 09:29:53

Tekkerue (25 views)
2014-08-16 06:45:27

Tekkerue (23 views)
2014-08-16 06:22:17

Tekkerue (15 views)
2014-08-16 06:20:21

Tekkerue (22 views)
2014-08-16 06:12:11

Rayexar (61 views)
2014-08-11 02:49:23

BurntPizza (39 views)
2014-08-09 21:09:32

BurntPizza (31 views)
2014-08-08 02:01:56

Norakomi (37 views)
2014-08-06 19:49:38
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

List of Learning Resources
by SilverTiger
2014-07-31 11:54:12

HotSpot Options
by dleskov
2014-07-08 01:59:08
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!