External button for rain/drain

Home Forums AR Sandbox Forum External button for rain/drain

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #2607
    Pseufei
    Participant

    Hello,
    I am thinking about adding two buttons for draining and raining instead of using keyboard. Do I need to use a microcontroller like raspberry pi to detect the button press or I can do that by modifying the file in AR sandbox? Can you give me some ideas of coding please?
    Thanks
    Faye

    #2612
    Sean Robinson
    Participant

    Oliver had a post on the old forum that uses an arcade USB encoder to send standard keyboard keys when the “arcade” buttons are pressed. He includes instructions for configuring the sandbox to use the buttons.

    The Wayback Machine has his post for “USB Button Solution”, but I cannot include the URL.

    Also, there are USB keyboards with one, two, five, etc. buttons. This way, the only sandbox setup is to assign tools (drain/rain) in the configuration file. I do not know how the output values are assigned to the keys, but I suspect it requires Windows for the initial setup.

    Another example is Liudr’s AR Sandbox controller. He gives instructions for building flood and drain buttons using an Arduino microcontroller.

    https://liudr.wordpress.com/2017/12/29/augmented-reality-sandbox-control-using-arduino-feather/

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.