View Single Post
Old 08-10-2007, 11:04 AM   #232
cherrybomb
Variable Bitrate
cherrybomb's CarPC Specs
 
cherrybomb's Avatar
 
Join Date: Apr 2005
Location: Southern Califorina
Vehicle: 1999 Ford Explorer
Posts: 228
My Photos: ()
Quote: Originally Posted by inh View Post
Below is (most of) my config file. When the program start up, it acts as a mouse, using the mouse butons like normal.
When you twist it to the right, it changes contexts and goes to the SpaceNavigator
context, which will send commands to RoadRunner for controlling themedia player.
To get back in to mouse mode, you press the left button.

Excellent!

Glad you're getting a handle on how to use the config file. By the time I get a config app finished, you won't need it.

P.S. You can switch to a context by name instead of incrementally. So you could use "CONTEXT;Mouse" to switch to the mouse context, or "CONTEXT;SpaceNavigator" to switch to the SN context.

HINT: This is how you can have RR change the context, by sending the SN app a window message with the context you wish to switch to. Something like maybe "CONTEXT;RRAudio" for the audio skin. The command can be embedded in the skin, so that any time it's activated it sends the window message. ;-)
__________________
'99 Ford Explorer Eddie Bauer
CarPC Progress ~= 97%. Everything is installed, and operational. Still need to tweak and tune, and do some "finish" fabrication.
CarPC Project Web Site

SpaceNavigatorDriver SourceForge Project

Check out my blog.

Last edited by cherrybomb; 08-10-2007 at 11:11 AM. Reason: Added details about context switching
cherrybomb is offline   Reply With Quote