Go to Post Its not the type of material you use, but how you use it... - jrocket567 [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

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 04-02-2017, 18:15
CurlyFries CurlyFries is offline
Registered User
AKA: Troy Martin
FRC #2512 (Duluth East Daredevils)
Team Role: Programmer
 
Join Date: Oct 2015
Rookie Year: 2014
Location: Duluth, MN
Posts: 23
CurlyFries is an unknown quantity at this point
C++ Joystick Button Error

I'm having an interesting problem with my command based c++ program. Whenever I'm using a created joystick button in the OI source file, I get a very long error message in the driver console, a picture of which is attached to this post. Our joystick is currently plugged in to the correct port, and the button does register on the DS.

This is not our first time with command based, and we are currently creating and using the joystick button as we have had in previous years. There may have been a change this last year that I have not read about? Any help would be greatly appreciated.
Attached Thumbnails
Click image for larger version

Name:	error.PNG
Views:	13
Size:	21.1 KB
ID:	21701  
Reply With Quote
  #2   Spotlight this post!  
Unread 04-02-2017, 18:23
jreneew2's Avatar
jreneew2 jreneew2 is offline
Alumni of Team 2053 Tigertronics
AKA: Drew Williams
FRC #2053 (TigerTronics)
Team Role: Programmer
 
Join Date: Jan 2014
Rookie Year: 2013
Location: Vestal, NY
Posts: 213
jreneew2 has a spectacular aura aboutjreneew2 has a spectacular aura aboutjreneew2 has a spectacular aura about
Re: C++ Joystick Button Error

Can you post your relevant code?
Reply With Quote
  #3   Spotlight this post!  
Unread 04-02-2017, 18:32
CurlyFries CurlyFries is offline
Registered User
AKA: Troy Martin
FRC #2512 (Duluth East Daredevils)
Team Role: Programmer
 
Join Date: Oct 2015
Rookie Year: 2014
Location: Duluth, MN
Posts: 23
CurlyFries is an unknown quantity at this point
Re: C++ Joystick Button Error

Here's some screenshots of the oi code.
Attached Thumbnails
Click image for larger version

Name:	Capture10.PNG
Views:	11
Size:	5.4 KB
ID:	21702  Click image for larger version

Name:	Capture11.PNG
Views:	10
Size:	5.1 KB
ID:	21703  
Reply With Quote
Reply


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 13:19.

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