Go to Post You will forever be confronted with choosing between right and wrong, or choosing what you think you can get away with. Which way you go defines what kind of person you are. Choose wisely. - Gary Dillard [more]
Home
Go Back   Chief Delphi > Technical > Programming > Java
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #10   Spotlight this post!  
Unread 23-06-2014, 14:43
LFRobotics's Avatar
LFRobotics LFRobotics is offline
Registered User
FRC #4623
 
Join Date: Jan 2014
Location: Little Falls, MN
Posts: 95
LFRobotics is on a distinguished road
Re: Xbox Controller

Okay I get it - but why cant I just continue to use

Code:
Joystick joystick = new Joystick(1);
private Button button = new JoystickButton(joystick, 0);
to assign my buttons or even

Code:
private Button button = new JoystickButton(joystick, joystick.getRawButton(0));
instead of having to create a whole new class.

And if it is completely necessary to do so I would need some help - I have an idea of what to do but I would still need some guidance.

THANKS!
Reply With Quote
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 12:23.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi