Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
modify options interface
07-18-2007, 03:42 PM,
#8
 
Well did you set up an if clause in the ProcessAction function thus?
Code:
else if( action == "ConnectHelmet" ) { /* helmet connection code */ }
Try adding one of those with something simple like
Code:
cout << "Connect Helmet action found" << endl;
so that you can see if it's working. I think the variable is called action, not looking at the code right now...

Also please make your action name (set in the button "action" setting as you describe) a single word in CamelCase as all the others are done. This is just a style thing...I'm pretty sure it should work either way.
Reply


Messages In This Thread
modify options interface - by mpo - 07-16-2007, 03:48 PM
[No subject] - by thelusiv - 07-16-2007, 04:04 PM
[No subject] - by mpo - 07-16-2007, 05:30 PM
[No subject] - by rookie1 - 07-17-2007, 07:17 AM
[No subject] - by mpo - 07-18-2007, 01:59 PM
[No subject] - by thelusiv - 07-18-2007, 02:56 PM
[No subject] - by mpo - 07-18-2007, 03:36 PM
[No subject] - by thelusiv - 07-18-2007, 03:42 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)