View Single Post
  #11   Spotlight this post!  
Unread 25-01-2013, 17:07
Arhowk's Avatar
Arhowk Arhowk is offline
FiM CSA
AKA: Jake Niman
FRC #1684 (The Chimeras) (5460 Mentor)
 
Join Date: Jan 2013
Rookie Year: 2013
Location: Lapeer
Posts: 543
Arhowk is a splendid one to beholdArhowk is a splendid one to beholdArhowk is a splendid one to beholdArhowk is a splendid one to beholdArhowk is a splendid one to beholdArhowk is a splendid one to behold
Re: Toggling Buttons in Java

Quote:
Originally Posted by Ether View Post
It's Java.



They don't have "hasFinished" either :-)



im confused now.

Anyway, this isnt currently tested, but OP can play with this if he/she wants. Its my library that A) maps out all of the buttons B) allows you to convert a string -> button (untested) C) allows you to change the active command of buttons (untested)

http://pastebin.com/Yi0nNf3J
http://pastebin.com/N6XT1Wrt

note that the thumbpad buttons dont work. i have no idea how to use them.

also, the functions for returning if a button is pressed will return false if the command when the button is pressed is cancelled prematurely. this is intentional.
Reply With Quote