View Single Post
  #1   Spotlight this post!  
Unread 13-07-2014, 07:16
hyprvx's Avatar
hyprvx hyprvx is offline
Registered User
AKA: Devon
FRC #2151 (Monty Pythons)
Team Role: Programmer
 
Join Date: Jan 2014
Rookie Year: 2014
Location: Forest Park
Posts: 22
hyprvx is an unknown quantity at this point
A library to simulate joystick button press events?

So basically, I have an idea involving my team's robot, music, and LED light strips. My code is going to be in two parts, Python and LabVIEW (what the robot is currently coded in, moving to C++ in 2015). A Python script will have an animation, pressing one of four "buttons" that gets sent to the DS software, sending it to the robot. On these "button" presses, one of four LED light strips light up. And it all gets timed to music! I'll post a video if/when I get it working on a robot. My only bottleneck is that I don't know of any python libraries for simulating virtual joystick buttonpress events. Do you know of any?

TL;DR: I'm making a light flashy thing for our robot, and I need a joystick button press library for python.

apologies for grammar, I haven't slept last night :/
__________________
My userbars were eaten by Cthulhu.


FRC team 2151, the Monty Pythons!
Reply With Quote