Go to Post If I was a balding man, and Dean Kamen signed MY head, I'd immediately make my way to the nearest tattoo parlor and have them make it a permanent fixture. I wouldn't have washed it off! Just saying. - Carolyn_Grace [more]
Home
Go Back   Chief Delphi > Technical > Programming > C/C++
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #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
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 14:36.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi