Join us at the Oolite Anniversary Party -- London, 7th July 2024, 1pm
More details in this thread.

remapping problems?

For discussion of ports to POSIX based systems, especially using GNUStep.

Moderators: winston, another_commander, Getafix

Post Reply
punkbohemian
Competent
Competent
Posts: 61
Joined: Thu Jun 04, 2009 5:47 pm

remapping problems?

Post 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";
}
User avatar
Thargoid
Thargoid
Thargoid
Posts: 5525
Joined: Thu Jun 12, 2008 6:55 pm

Post 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).
another_commander
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 6570
Joined: Wed Feb 28, 2007 7:54 am

Post 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.
punkbohemian
Competent
Competent
Posts: 61
Joined: Thu Jun 04, 2009 5:47 pm

Post 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.
another_commander
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 6570
Joined: Wed Feb 28, 2007 7:54 am

Post 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.
punkbohemian
Competent
Competent
Posts: 61
Joined: Thu Jun 04, 2009 5:47 pm

Post by punkbohemian »

Thanks, I just remapped it to another letter. As for using shift + something, I'm trying to avoid that for anything important.
User avatar
Cmdr Wyvern
---- E L I T E ----
---- E L I T E ----
Posts: 1649
Joined: Tue Apr 11, 2006 1:47 am
Location: Somewhere in the great starry void

Post 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.
Running Oolite buttery smooth & rock stable w/ tons of eyecandy oxps on:
ASUS Prime X370-A
Ryzen 5 1500X
16GB DDR4 3200MHZ
128GB NVMe M.2 SSD (Boot drive)
1TB Hybrid HDD (For software and games)
EVGA GTX-1070 SC
1080P Samsung large screen monitor
Post Reply