Meadville Space Center
Welcome, Guest. Please login or register.
January 22, 2021, 02:30:55 PM

Login with username, password and session length
Search:     Advanced search
Project Apollo - NASSP 6.4.3 released!
http://nassp.sf.net
25068 Posts in 2094 Topics by 2266 Members
Latest Member: Apollo Next
* Home Help Search Login Register
+  Meadville Space Center
|-+  Project Apollo - NASSP
| |-+  Project Apollo - NASSP News & Discussion
| | |-+  Support & Bugs (Moderators: movieman, Tschachim, Swatch, lassombra)
| | | |-+  How can I map key commands to THC directions?
« previous next »
Pages: [1] Print
Author Topic: How can I map key commands to THC directions?  (Read 1526 times)
kneecaps
Project Team Member
Full Member
****
Posts: 217


36711000 kneecaps@shockpulse.co.uk
View Profile
« on: May 03, 2008, 06:01:09 AM »

My joystick is a Thrustmaster cougar. It has a standard two axis flight stick which i'm happy to use for pitch and roll. However the stick is totally programmable. I'm able to map the hat to deal with yaw (it's not a twist stick).

However I have a small microstick on the throttle quadrant which coupled with another self centering switch would be perfect to act as a THC.

I need to know if there are any keys 'mapped' to the THC directions so I can directly program those keystrokes to my stick. Rather than having to assign a button to swap between ROT and LIN?

EDIT: Also are the X-Y - Twist joystick axis mapped in anyway to the breakout switch, softstop and direct actuations? If not if keys are mapped to the functions I can actually apply these in 'bands' to my axis.
Pete
« Last Edit: May 03, 2008, 08:21:52 AM by kneecaps » Logged

"Okay. As soon as we find the Earth, we will do it."
- Frank Borman, Apollo 8

Current Work: ?? What next??

Future Work:
I know the AGC pretty well so anything need doing there?

On Hold/Completed:
SPS TVC in P40 issues.
P11 FDAI Error Needles (98%) complete. Comitted. Working A7 scenario.
P06 AGC Standby. Concluded. It's done by the AGC PSU.
Got us a complete AOH Volume II
lassombra
Moderator
Sr. Member
****
Posts: 410


View Profile Email
« Reply #1 on: May 03, 2008, 11:50:01 AM »

I can't answer the last one, but as to the keys, Orbiter's standard keys are captured by the new RCS system (which is in CVS).
Logged

My current Project Apollo work:

Quickstart to the Moon initiative (Quickstart_to_the_Moon): Done through earth orbit.  Working on new method of calculating TLI.

Checklist Controller: 
  • MFD Interface 99%(Minor cleanup and future features remain)
  • Panel Interface 99%
  • Excel interface and logic 99%
  • LEM Event code.0%
  • DSKY Interface code. Framework complete, creating "buttons"
  Approximately 80% done. (Checklist Controller
kneecaps
Project Team Member
Full Member
****
Posts: 217


36711000 kneecaps@shockpulse.co.uk
View Profile
« Reply #2 on: May 03, 2008, 12:14:33 PM »

I can't answer the last one, but as to the keys, Orbiter's standard keys are captured by the new RCS system (which is in CVS).

I know...but it depend on a toggle (ROT/LIN)...I need keys (and anybody else who wants to use one input device with multiple buttons, axis, hats) to map buttons/hat directions to at all times.

The new RCS is working great..but I want to get it going with my HOTAS setup.
Logged

"Okay. As soon as we find the Earth, we will do it."
- Frank Borman, Apollo 8

Current Work: ?? What next??

Future Work:
I know the AGC pretty well so anything need doing there?

On Hold/Completed:
SPS TVC in P40 issues.
P11 FDAI Error Needles (98%) complete. Comitted. Working A7 scenario.
P06 AGC Standby. Concluded. It's done by the AGC PSU.
Got us a complete AOH Volume II
lassombra
Moderator
Sr. Member
****
Posts: 410


View Profile Email
« Reply #3 on: May 03, 2008, 01:07:10 PM »

You can use a toggle on the joystick to do that.  Or... you could program your own shortcut keys that do the exact same thing that the orbiter keys do (trigger some dummy thrusters I'm suspecting).

One of the advantages of open source is that anyone can bend it to their will, if they understand it enough.
Logged

My current Project Apollo work:

Quickstart to the Moon initiative (Quickstart_to_the_Moon): Done through earth orbit.  Working on new method of calculating TLI.

Checklist Controller: 
  • MFD Interface 99%(Minor cleanup and future features remain)
  • Panel Interface 99%
  • Excel interface and logic 99%
  • LEM Event code.0%
  • DSKY Interface code. Framework complete, creating "buttons"
  Approximately 80% done. (Checklist Controller
kneecaps
Project Team Member
Full Member
****
Posts: 217


36711000 kneecaps@shockpulse.co.uk
View Profile
« Reply #4 on: May 03, 2008, 02:05:40 PM »

You can use a toggle on the joystick to do that.  Or... you could program your own shortcut keys that do the exact same thing that the orbiter keys do (trigger some dummy thrusters I'm suspecting).

One of the advantages of open source is that anyone can bend it to their will, if they understand it enough.

I'm looking for some way to make the THC inputs without requiring the toggle....looks like there is no way to map the functions directly to keys or to some direct X function.
Logged

"Okay. As soon as we find the Earth, we will do it."
- Frank Borman, Apollo 8

Current Work: ?? What next??

Future Work:
I know the AGC pretty well so anything need doing there?

On Hold/Completed:
SPS TVC in P40 issues.
P11 FDAI Error Needles (98%) complete. Comitted. Working A7 scenario.
P06 AGC Standby. Concluded. It's done by the AGC PSU.
Got us a complete AOH Volume II
Tschachim
Project Apollo - NASSP
Administrator
Hero Member
****
Posts: 3700


nassp.sf.net


View Profile WWW
« Reply #5 on: May 03, 2008, 05:09:11 PM »

You could try PPJoy: http://www.geocities.com/deonvdw/Docs/PPJoyMain.htm It's a joystick emulator, you can try to install the PPJoy joystick as 2nd joystick configured as THC and then use PPJoyKey to capture the keys you mapped your joystick to.

Cheers
Tschachim
Logged

kneecaps
Project Team Member
Full Member
****
Posts: 217


36711000 kneecaps@shockpulse.co.uk
View Profile
« Reply #6 on: May 04, 2008, 05:04:40 AM »

You could try PPJoy: http://www.geocities.com/deonvdw/Docs/PPJoyMain.htm It's a joystick emulator, you can try to install the PPJoy joystick as 2nd joystick configured as THC and then use PPJoyKey to capture the keys you mapped your joystick to.

Cheers
Tschachim

You know what! That's a fab idea and would work great as I can assign any combo of keys to the axis.

How are the extents of the axis travel being analysed? I notice that I have to push my stick to hardstops to get direct firing? I'm wondering if I need to stick to analogue axis' to preserve this behaviour?
Logged

"Okay. As soon as we find the Earth, we will do it."
- Frank Borman, Apollo 8

Current Work: ?? What next??

Future Work:
I know the AGC pretty well so anything need doing there?

On Hold/Completed:
SPS TVC in P40 issues.
P11 FDAI Error Needles (98%) complete. Comitted. Working A7 scenario.
P06 AGC Standby. Concluded. It's done by the AGC PSU.
Got us a complete AOH Volume II
Swatch
Moderator
Hero Member
****
Posts: 1003


jasonims
View Profile
« Reply #7 on: May 28, 2008, 06:02:06 PM »

PPJoy FTW! Thumbs Up  PPJoy is great....and now I want to control the Apollo Command Module with a Nintendo Wii-mote!   Jump
Logged

My Project Apollo Work:
CM Visual
 -VC (~75% complete: texture work beginning again; mesh-78%; texture-70%)
Propulsion Particle Improvements (Focused on S1B right now, BETA 1.0 has been commited)
New Docking Method (~50% complete: research complete; coding partially completed, testing not underway)

Future Work:  (if it's here, it's deemed unnecessary to upcoming release)

Older Work:  (if it's here, it's fair game to whoever wants to improve)
EMS Implementation (committed: minor flaws, but groundwork is there, needs extensive testing)
EMS scrolls (committed: not refined, but usable)
SM Visual (committed: mesh-finished, texture-60%; possibly revisited in future)
J2 Texture (commited: room for improvement)
LRV (committed: mesh-finished, texture-90%; in future a ground up rebuild may be in order, but not on my plans)
lassombra
Moderator
Sr. Member
****
Posts: 410


View Profile Email
« Reply #8 on: May 28, 2008, 09:16:54 PM »

Ok, I have to try that now...

*digs out bluetooth dongle*

*starts fiddling with the interface*
Logged

My current Project Apollo work:

Quickstart to the Moon initiative (Quickstart_to_the_Moon): Done through earth orbit.  Working on new method of calculating TLI.

Checklist Controller: 
  • MFD Interface 99%(Minor cleanup and future features remain)
  • Panel Interface 99%
  • Excel interface and logic 99%
  • LEM Event code.0%
  • DSKY Interface code. Framework complete, creating "buttons"
  Approximately 80% done. (Checklist Controller
Pages: [1] Print 
« previous next »
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.10 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!