Create RBButtonLib.h

Library to allow capturing Button State in the loop that reads the joystick and add to state object to then check for a Press or Release reliably.
Update RBButtonLib.h

Fix bug where Pressed/Released were always set due to OR vs AND and also made button #s 1 based instead of 0 based to match RobotC joystick standard.
Create RBButtonTest.c

Test Program showing state transitions for Buttons A B X
Merge pull request #1 from rbarber/master

Create RBButtonLib.h