Go to Post Cameras, colors, and tetras, oh my! - galewind [more]
Home
Go Back   Chief Delphi > Technical > Programming > Java
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 20-02-2015, 19:54
mbshark's Avatar
mbshark mbshark is offline
Registered User
AKA: Myles Byrne
FRC #3932 (The Dirty Mechanics)
Team Role: Leadership
 
Join Date: Jan 2014
Rookie Year: 2013
Location: Boca Raton, FL, USA
Posts: 34
mbshark is an unknown quantity at this point
Logitech G13

Hello, we just received a Logitech G13 and found out that it maps to keystroke combinations. We were wondering if anyone knows how to either use keystrokes to activate java commands. Or reprogram the G13 as a gamepad that the Driver Station and computer recognizes. Thanks for any help!
__________________


DirtyMechanics.org
2015 Panther Prowl Finalists
2014 South Florida Regional Winners Matches from this Competition
2014 Orlando/UCF Regional Semifinalists Matches from this Competition

2013 South Florida Regional Semifinalists - Judges Award
2013 Orlando Florida Regional Quarterfinalists - Judges Award
Reply With Quote
  #2   Spotlight this post!  
Unread 20-02-2015, 20:14
nickmcski nickmcski is offline
Registered User
AKA: Nicholas McCurry
FRC #1482 (Grandin Ghosts)
Team Role: Alumni
 
Join Date: Nov 2012
Rookie Year: 2012
Location: Canada
Posts: 107
nickmcski has a spectacular aura aboutnickmcski has a spectacular aura aboutnickmcski has a spectacular aura about
Re: Logitech G13

I don't know any way in the wpilib to get the key presses from the driver station. That being said I did mess around with the Logitech G keys a while ago and you can write a c++ program to directly read what G key is pressed and then write something to the network tables.
Reply With Quote
  #3   Spotlight this post!  
Unread 26-02-2015, 08:54
fovea1959's Avatar
fovea1959 fovea1959 is offline
Herder of programmers
AKA: Doug Wegscheid
FRC #3620 (The Average Joes)
Team Role: Mentor
 
Join Date: Jan 2011
Rookie Year: 2011
Location: St Joseph
Posts: 330
fovea1959 will become famous soon enough
Re: Logitech G13

another take: look at vJoy, define a virtual joystick on the DS, and write a vJoy feeder program to translate information from the G13 to vJoy joystick buttom presses, POV actuations, or axis movements.

Did it with a Leap Motion sensor a couple of years ago. Clunky, but it worked (as well as the Leap worked....)
Reply With Quote
  #4   Spotlight this post!  
Unread 26-02-2015, 22:10
mbshark's Avatar
mbshark mbshark is offline
Registered User
AKA: Myles Byrne
FRC #3932 (The Dirty Mechanics)
Team Role: Leadership
 
Join Date: Jan 2014
Rookie Year: 2013
Location: Boca Raton, FL, USA
Posts: 34
mbshark is an unknown quantity at this point
Re: Logitech G13

Thanks for the suggestions!

Here's what we did:
Download and launch the Logitech Gaming Software for the G13 at http://support.logitech.com/product/...board#download
Program G1-G13 as Numpad 0-9 and Num * Num / and Num + and G14-22 and the two buttons by the mini joystick as G23-24 to F1-F11 (To avoid confusion - do all of three sections: M1, M2, & M3). (We did different colors but that's not necessary)
Download VJoystick at http://sourceforge.net/projects/vjoystick/
Then Download VJoy Setup at http://www.headsoft.com.au/download/pc/VJoySetup.exe
Follow instructions at http://www.headsoft.com.au/index.php?category=vjoy
Setting VJoy Virtual Joystick 1 Buttons 1-13 as the same as you configured them in the Logitech Software and Setting VJoy Virtual Joystick 2 Buttons 14-24 as the same as you configured them in the Logitech Software
Make sure to check launch on startup, enabled, block keys, and auto center
Click on save "ini" to save the configuration for the VJoy Setup software.
The programs must be running while trying to control the robot and may need to be opened if the driver station turns off or goes into hibernate.
__________________


DirtyMechanics.org
2015 Panther Prowl Finalists
2014 South Florida Regional Winners Matches from this Competition
2014 Orlando/UCF Regional Semifinalists Matches from this Competition

2013 South Florida Regional Semifinalists - Judges Award
2013 Orlando Florida Regional Quarterfinalists - Judges Award
Reply With Quote
Reply


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 10:26.

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