Posted 15 April 2014 - 04:09 AM
Hello! I totally did not register myself just so I could post this. :P/>
I basically modified direwolf20's button API to support more custom parameters, because it was a total mess and it was ugly with the red/green butttons. Oh, and it uses the window API.
I'm planning on updating it later, and implementing other stuff (like the find peripheral stuff).
Here it is: http://pastebin.com/ZKWckd7v
To install it, just type "pastebin get ZKWckd7v button" on your turtle/computer. Then, at the start of the program you create, type os.loadAPI("button"). That should allow you to use my API.
Post bugs and suggestions, please! I'd be very glad if you did so. :3
I basically modified direwolf20's button API to support more custom parameters, because it was a total mess and it was ugly with the red/green butttons. Oh, and it uses the window API.
I'm planning on updating it later, and implementing other stuff (like the find peripheral stuff).
Here it is: http://pastebin.com/ZKWckd7v
To install it, just type "pastebin get ZKWckd7v button" on your turtle/computer. Then, at the start of the program you create, type os.loadAPI("button"). That should allow you to use my API.
Post bugs and suggestions, please! I'd be very glad if you did so. :3