Page 1 of 1

remapping problems?

Posted: Fri Jun 05, 2009 3:38 pm
by punkbohemian
I've edited my keyconfig.plist file, but some of the keys seem to not be working, and I'm wondering if it has something to do with the edits. With the following config, key_inject_fuel, key_autodock, key_docking_clearance_request seem to be non-responsive. Can anyone tell me why? Thanks.

Code: Select all

{
	key_roll_left				= "z";		// left arrow
	key_roll_right				= "x";		// right arrow
	key_pitch_forward			= 255;		// up arrow
	key_pitch_back				= 254;		// down arrow
	key_yaw_left				= 253;
	key_yaw_right				= 252;

	key_increase_speed			= "s";
	key_decrease_speed			= "a";
	key_inject_fuel				= 42;		// left shift

	key_fire_lasers				= " ";
	key_launch_missile			= "f";
	key_next_missile			= "v";
	key_ecm					= "c";

	key_target_missile			= "d";
	key_untarget_missile			= "u";
	key_ident_system			= "q";

	key_scanner_zoom			= ",";
	key_scanner_unzoom			= ".";

	key_launch_escapepod			= 27;		// escape
	key_energy_bomb				= "\t";		// tab

	key_galactic_hyperspace			= "g";
	key_hyperspace				= "h";
	key_jumpdrive				= "j";

	key_dump_cargo				= "l";
	key_rotate_cargo			= "R";

	key_autopilot				= "m";
	key_autopilot_target			= "n";
	key_autodock				= "]";
	key_docking_clearance_request		= "[";

	key_snapshot				= "*";
	key_docking_music			= 83;		//delete

	key_advanced_nav_array			= "^";
	key_map_home				= 302;		// Home
	key_map_info				= "i";

	key_pausebutton				= "p";
	key_show_fps				= "F";
	key_mouse_control			= "M";

	key_comms_log				= "`";
	key_next_compass_mode			= "\\";

	key_cloaking_device			= "0";

	key_contract_info			= "?";

	key_next_target				= "=";
	key_previous_target			= "-";

	key_custom_view				= "V";

	key_dump_target_state			= "H";
}

Posted: Fri Jun 05, 2009 3:47 pm
by Thargoid
Docking clearance request by default I don't think is active in the game, you don't need it. It's an option that can be activated with some file content adjustment or used by OXP makers, but as default the v1.72.2 game doesn't use it. I don't actually recall seeing any OXP stations which require it either yet.

For the fuel injection, you have to have witchspace fuel injectors to work, and you have to press and hold the key, not just press it once and release.

As for auto-dock, no real idea. As has been said elsewhere it only works for the system main station, and only within its aegis ("S" appearing somewhere on your HUD, depending what HUD you're using).

Posted: Fri Jun 05, 2009 4:07 pm
by another_commander
There are certain keys that are not checked for input status by Oolite. "[" and "]" are two of those, so you cannot get them to work.

As for the injection key, you have actually double-mapped it to the screenshot key (*). Code 42 is the SDL keysym code for the asterisk. In your configuration, every time you use injectors you also save a screenshot of your game.

Posted: Fri Jun 05, 2009 5:04 pm
by punkbohemian
As for the injection key, you have actually double-mapped it to the screenshot key (*).
According to a chart I found, 42 is supposed to be left shift. Do you know where I can find an accurate chart? Thanks.

Posted: Fri Jun 05, 2009 5:21 pm
by another_commander
Try this:
http://www.koders.com/c/fid8D6280AEFC10 ... E5C6A.aspx

My personal recommendation: Avoid keys like Shift, Control, Windows Key etc. Try to use alphanumeric keys as much as possible. Remember that you can use keys in combination with Shift to double your available key slots.

Posted: Fri Jun 05, 2009 5:42 pm
by punkbohemian
Thanks, I just remapped it to another letter. As for using shift + something, I'm trying to avoid that for anything important.

Posted: Mon Jun 08, 2009 3:44 pm
by Cmdr Wyvern
Thargoid wrote:

As for auto-dock, no real idea. As has been said elsewhere it only works for the system main station, and only within its aegis ("S" appearing somewhere on your HUD, depending what HUD you're using).
This is not entirely true.

I have Hoopy Casinos installed, and if I get closer to the Hoopy than to the station, autodock docks me with the Hoopy.