You can find every constant you can use in the help entry for BUTTON. The ones you probably want are #A, #B, #X and #Y.