Thread
:
Methods for Single Button Swapping
View Single Post
#
2
11-05-2014, 22:20
Alan Anderson
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,112
Re: Methods for Single Button Swapping
Remember the state of the button the last time you checked it. If it is currently pressed but was not pressed before, then do the swap. Otherwise do nothing.
__________________
::
qo'mey poSmoH Hol
:: language opens worlds
Alan Anderson
View Public Profile
Visit Alan Anderson's homepage!
Find all posts by Alan Anderson
Find CD-Media Photos by Alan Anderson
Find CD-Media Papers by Alan Anderson