Go to Post The first law of programming is that there are always ways of doing things quicker and in less space than you already are. - jgannon [more]
Home
Go Back   Chief Delphi > Technical > Programming > C/C++
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
  #4   Spotlight this post!  
Unread 07-02-2009, 13:59
bwobo bwobo is offline
Team 1458
FRC #1458
Team Role: Engineer
 
Join Date: Jan 2008
Rookie Year: 2006
Location: California
Posts: 15
bwobo is just really nicebwobo is just really nicebwobo is just really nicebwobo is just really nice
Send a message via AIM to bwobo
Re: Joystick Trigger Programming

Is there not a GetTrigger function in Joystick.h?
I don't have the header files here, but i think there is one. (you can check)
EDIT:
in Joystick.h, there is a GetTrigger function, as well as just the normal numbered 1-11 buttons
Code:
virtual bool GetTrigger(JoystickHand hand = kRightHand);
bool GetRawButton(UINT32 button);
that is from the header file, so you would just use GetTrigger and GetRawButton

Byteit is good on the limit switch too,I think not sure, that the Jaguars also have built in limit switch support, no code required
__________________

Last edited by bwobo : 07-02-2009 at 21:00.
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Programming the joystick trigger... pudgeball C/C++ 4 10-01-2009 10:25
Joystick Programming greatman05 Programming 11 30-01-2008 20:40
Joystick Programming LieAfterLie Programming 7 15-02-2007 09:30
Programming a Joystick sbf2009 Programming 3 10-02-2007 15:59
Joystick Programming team 803 Programming 6 21-02-2006 11:49


All times are GMT -5. The time now is 13:15.

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