Java-Gaming.org    
Featured games (79)
games approved by the League of Dukes
Games in Showcase (475)
Games in Android Showcase (106)
games submitted by our members
Games in WIP (530)
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  
  OSX Version update  (Read 1087 times)
0 Members and 1 Guest are viewing this topic.
Offline gregorypierce

Senior Member




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


« Posted 2004-02-28 05:21:32 »

The qualifier keys should now work for the keyboards. The problem being that the operating system enumerated those keys more than once for reasons that aren't quite clear. Since they are stored in a HashMap, the first enum (which is actually the correct HID cookie) was being overwritten by a second HID cookie which seems to correspond to nothing.

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 #1 - Posted 2004-02-28 18:27:46 »

This is good progress.   I'm looking into the issue with the iShock II.  It and the key naming are the next major issues.

On the key name front.  We need the JInput spec o make it clear how it should work.  Jeff mentioned that the names should be normalized to how the windows plugin is working.  Can that be explained in a platform neutral way in the JInput spec?  At the moment the Mac plugin returns the same string for getName() and getIdentifier() the spec doesn't really require anything different, but obviously some way to get the key cap name for UI purposes is required.

Offline Jeff

JGO Coder




Got any cats?


« Reply #2 - Posted 2004-03-03 03:38:22 »

Yes we need to decide this.  I was  lookign at Mike's code (the original JInput author) and there is something Im not sure I 100% understand yet.  In something like "Standard Keyboard" there is a funny table that converts the code for the key returned from the lower level into other codes.  Im trying to udnerstand why thats there right now.  It seems like *maybe  * thats suppsoed to make all the keyboards return the same codes for the same keys?

Anyone else noticed that and have any bright ideas?  I can try to ping mike... I used to have a forwarding address for him...

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 2004-03-03 13:13:49 »

I haven't seen that key table yet...  at the moment I'm reading USB HID specs and Apple docs and poking around in Greg's code to see if I can get proper gamepad support in there.  It is going well so far, but my time is limited (I'm sure you know the feeling).  But I do hope to make some progress by the end of this weekend.  If I'm lucky, to the point of having fully working gamepad support.

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.

ctomni231 (34 views)
2014-07-18 06:55:21

Zero Volt (30 views)
2014-07-17 23:47:54

danieldean (25 views)
2014-07-17 23:41:23

MustardPeter (27 views)
2014-07-16 23:30:00

Cero (42 views)
2014-07-16 00:42:17

Riven (44 views)
2014-07-14 18:02:53

OpenGLShaders (32 views)
2014-07-14 16:23:47

Riven (31 views)
2014-07-14 11:51:35

quew8 (30 views)
2014-07-13 13:57:52

SHC (66 views)
2014-07-12 17:50:04
HotSpot Options
by dleskov
2014-07-08 03:59:08

Java and Game Development Tutorials
by SwordsMiner
2014-06-14 00:58:24

Java and Game Development Tutorials
by SwordsMiner
2014-06-14 00:47:22

How do I start Java Game Development?
by ra4king
2014-05-17 11:13:37

HotSpot Options
by Roquen
2014-05-15 09:59:54

HotSpot Options
by Roquen
2014-05-06 15:03:10

Escape Analysis
by Roquen
2014-04-29 22:16:43

Experimental Toys
by Roquen
2014-04-28 13:24:22
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!