Extract Button State (continuation of Ying's clean up work)

Also, the new api will use Keyboard_A_Up instead of Keyboard_A_KeyUp to
match Mouse_Right_Up. Also, Mouse_Right_Click (not short or long click)
will also be depreciated for Mouse_Right_Up which does the same thing.
However, all previous api calls will still be supported.