Inspiration

Several Wii remotes, a UDraw tablet, and a dream to make hackathon attendees touch grass... virtually, of course.

What it does

  • You can plant grass and flowers, water them to help them grow (or cut them down), and Touch! Some! Grass!
  • We used Grafana to track statistics: how much grass you've touched, how long since you last touched grass, and what/how many plants you have planted (etc).

How we built it

We wrote a userspace driver in Rust tapping into the Linux kernel Wii Remote driver, to access the raw data sent by the drawing tablet through the Wii Remote and convert it into a standard graphics tablet.

We then wrote a game using the Monogame library for C# .NET to allow you to touch grass. The game also sends data to an InfluxDB server, which is then accessed by Grafana to create a dashboard with statistics from the game.

Challenges we ran into

Confusing documentation.

Accomplishments that we're proud of

Making a piece of old proprietary hardware useful, as a cheap wireless graphics tablet!

What we learned

The Linux input stack is weird.

What's next for Touch Grass Simulator (With Wii Controls)

Bushes & maybe trees.

Built With

  • c#
  • grafana
  • influxdb
  • monogame
  • rust
  • udraw-tablet
  • wii-remote
Share this project:

Updates