Java-Gaming.org
Play Revenge of the Titans! The situation is critical. We need fancy commanders to defend Earth, the moon, Mars!
Featured games (78)
games approved by the League of Dukes
Games in Showcase (406)
games submitted by our members
Games in WIP (293)
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 4123 times)
0 Members and 1 Guest are viewing this topic.
Offline endolf
« League of Dukes »

JGO Coder


Medals: 4
Projects: 1


Current project release date: sometime in 3003


« Reply #30 - Posted 2004-08-29 20: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 02:11:52 »

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


Apparently not?

Thumbs down to the rename.

Offline endolf
« League of Dukes »

JGO Coder


Medals: 4
Projects: 1


Current project release date: sometime in 3003


« Reply #32 - Posted 2004-08-30 10: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-09-01 00: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
« League of Dukes »

JGO Coder


Medals: 4
Projects: 1


Current project release date: sometime in 3003


« Reply #34 - Posted 2004-09-01 08: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 03: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 03:45:11 »

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

Offline endolf
« League of Dukes »

JGO Coder


Medals: 4
Projects: 1


Current project release date: sometime in 3003


« Reply #37 - Posted 2004-09-03 10: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.

Play Revenge of the Titans! The situation is critical. We need fancy commanders to defend Earth, the moon, Mars!
 
Get high quality music tracks for your game!

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

The first screenshot will be displayed as a thumbnail.

The invasion has landed! On Mars! And you're there to beat 'em!
cubemaster21 (76 views)
2013-05-17 21:29:12

alaslipknot (87 views)
2013-05-16 21:24:48

gouessej (117 views)
2013-05-16 00:53:38

gouessej (112 views)
2013-05-16 00:17:58

theagentd (123 views)
2013-05-15 15:01:13

theagentd (112 views)
2013-05-15 15:00:54

StreetDoggy (156 views)
2013-05-14 15:56:26

kutucuk (178 views)
2013-05-12 17:10:36

kutucuk (177 views)
2013-05-12 15:36:09

UnluckyDevil (185 views)
2013-05-12 05:09:57
Complex number cookbook
by Roquen
2013-04-24 12:47:31

2D Dynamic Lighting
by Oskuro
2013-04-17 16:46:12

2D Dynamic Lighting
by Oskuro
2013-04-17 16:45:57

2D Dynamic Lighting
by Oskuro
2013-04-17 16:23:20

Noise (bandpassed white)
by Roquen
2013-04-05 17:36:01

Noise (bandpassed white)
by Roquen
2013-04-03 16:17:38

Java Data structures
by Roquen
2013-03-29 13:21:12

Topic Request
by kutucuk
2013-03-22 21:42:01
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!
Page created in 0.132 seconds with 22 queries.