added button api for easyer access

the button API is made by direwolf20 and i dont claim any of the rights