View Single Post
  #1   Spotlight this post!  
Unread 12-04-2013, 13:49
ekapalka's Avatar
ekapalka ekapalka is offline
Registered User
FRC #3216
 
Join Date: Dec 2012
Location: Bermuda
Posts: 277
ekapalka has a spectacular aura aboutekapalka has a spectacular aura about
Using the keyboard

I was just wondering if you could use the left half of the keyboard (1, 2, 3, 4, 5, 6, q, w, e, r, t, a, s, d, f, g, z, x, c, v, b, [shift], [ctrl], and arrow keys (yes I know they're not on the left side)) to interface with the robot. I'm not trying to use a text input box or anything; just press the key and have something happen. I've been looking through the SmartDashboard Class Reference, specifically
Code:
static bool 	GetBoolean (std::string keyName)
but I have no way of testing anything I program at the moment. I'm intending to use the arrow keys to control the up/down/left/right movement of a pan and tilt assembly (just to test the keyboard functionality). Is this possible? Thanks!
Reply With Quote