Java-Gaming.org    
Featured games (81)
games approved by the League of Dukes
Games in Showcase (487)
Games in Android Showcase (112)
games submitted by our members
Games in WIP (553)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: 1 [2]
  ignore  |  Print  
  Axis.Identifier  (Read 5245 times)
0 Members and 1 Guest are viewing this topic.
Offline endolf

JGO Coder


Medals: 7


Current project release date: sometime in 3003


« Reply #30 - Posted 2004-08-29 18:51:38 »

Quote
for the linux plugin I can say that it works although there are 4 abs axes which do not do anything - thats why in my plugin i just ignored them. please have a look at the minimum and maximum data the kernel provides. the problem with these axes is that they marked as being pressed constantly (-1) which is very bad for input autodetection.


Is this a new problem, or did it do this with what was in CVS? Can you send me the dump from a texttest and readtest?

Quote
another bad thing is that my pc speaker is still a non-usable but visible input device. Smiley

Ok, I now throw away anything that has no sub controllers and/or no components.

Quote
another small problem: Controller.getAxes() still exists but returns the Component array. apidoc is outdated too.

renamed method and updated the docs (I think I got them all)

Endolf

Offline swpalmer

JGO Coder




Where's the Kaboom?


« Reply #31 - Posted 2004-08-30 00:11:52 »

Quote
Hi
 Right, for now the name stays as Axis, ...


Apparently not?

Thumbs down to the rename.

Offline endolf

JGO Coder


Medals: 7


Current project release date: sometime in 3003


« Reply #32 - Posted 2004-08-30 08:03:25 »

1  
2  
3  
4  
5  
6  
public class Axis {
    public class Identifier {
        public class Key extends Identifier {
        }
    }
}

Will result in compile errors Sad

Endolf

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 #33 - Posted 2004-08-31 22:37:21 »

Are you sure you want all those inner classes?  Seems a bit twisted. Maybe you want to stick 'static' in there somewhere?

e.g.
1  
2  
3  
4  
5  
6  
class Axis {
  static class Identifier {
  }
  class Key extends Identifier {
  }
}

Offline endolf

JGO Coder


Medals: 7


Current project release date: sometime in 3003


« Reply #34 - Posted 2004-09-01 06:18:10 »

I did ponder pulling Identifier out into it's own class, but the identifier is unique to a component/axis/whatever we call it. I also pondered creating a package for the controls and pulling out keys from the keyboard, and axis class, a component interface and a button class, then moving the Identifier object in there, or even having identifier as a package inside the component package and placing Identifier, KeyIdentifier, ButtonIdentifier and AxisIdentifier in there. If thats what people would prefer, then we could go that way too.

Endolf

Offline swpalmer

JGO Coder




Where's the Kaboom?


« Reply #35 - Posted 2004-09-03 01:42:47 »

I don't understand why you would do all that.  But maybe I'm simply not getting it.

It seems to me that Axis.Identifier fits well.

That is Identifier as a nested class of Axis, not an inner class.

That is the CLASS not the OBJECT.  Each Axis can have a member object of type Axis.Identifier.

Offline swpalmer

JGO Coder




Where's the Kaboom?


« Reply #36 - Posted 2004-09-03 01:45:11 »

Someone needs to invent a "programmers forum" where it is easy to create UML diagrams in the message threads Smiley

Offline endolf

JGO Coder


Medals: 7


Current project release date: sometime in 3003


« Reply #37 - Posted 2004-09-03 08:14:56 »

Hi
 Ok, Identifier as a nested class rather than an inner class, thats not a matter for debate really, it makes sense, i've done the change (not that it's hard), i'll commit it later when I'm not on works vpn and can actually use things other than port 80. Grr atta nasty vpn software that won't let me access *anything* except the vpn'd network, not even me own lan.

Endolf

Pages: 1 [2]
  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.

TehJavaDev (13 views)
2014-08-28 18:26:30

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

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

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

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

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

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

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

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

BurntPizza (34 views)
2014-08-08 02:01:56
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!