This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
caramba2654's profile picture

v2.0 Yet Another Button API

Started by caramba2654, 15 April 2014 - 02:09 AM
caramba2654 #1
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
InDieTasten #2
Posted 18 April 2014 - 12:11 PM
how about adding a bit preview content to the topic? i really don't want to download it to see it's not what i am looking for ;)/>
post some images, screenshots, maybe a little introduction of how to use it.