mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-02-17 01:11:45 +00:00
[input] Correct some type-setting issues in command help
This commit is contained in:
parent
7240d2dc80
commit
7a97a72232
2 changed files with 16 additions and 10 deletions
|
@ -728,17 +728,17 @@ static bindcmd_t in_binding_commands[] = {
|
||||||
"commands in quotes and separate with semi-colons."
|
"commands in quotes and separate with semi-colons."
|
||||||
},
|
},
|
||||||
{ "in_unbind", in_unbind_f,
|
{ "in_unbind", in_unbind_f,
|
||||||
"Remove the bind from the the selected key"
|
"Remove the bind from the the selected key."
|
||||||
},
|
},
|
||||||
{ "in_clear", in_clear_f,
|
{ "in_clear", in_clear_f,
|
||||||
"Remove all binds from the specified imts"
|
"Remove all binds from the specified imts."
|
||||||
},
|
},
|
||||||
{ "in_devices", in_devices_f,
|
{ "in_devices", in_devices_f,
|
||||||
"List the known devices and their status."
|
"List the known devices and their status."
|
||||||
},
|
},
|
||||||
{ "in_connect", in_connect_f,
|
{ "in_connect", in_connect_f,
|
||||||
"Create a device binding connection. Supports hot-plug in that the "
|
"Create a device binding connection. Supports hot-plug: the "
|
||||||
"device will be automatically reconnected when plugged in or"
|
"device will be automatically reconnected when plugged in or "
|
||||||
PACKAGE_NAME " is restarted."
|
PACKAGE_NAME " is restarted."
|
||||||
},
|
},
|
||||||
{ "in_connections", in_connections_f,
|
{ "in_connections", in_connections_f,
|
||||||
|
@ -746,10 +746,11 @@ static bindcmd_t in_binding_commands[] = {
|
||||||
},
|
},
|
||||||
{ "keyhelp", keyhelp_f,
|
{ "keyhelp", keyhelp_f,
|
||||||
"Identify the next active input axis or button.\n"
|
"Identify the next active input axis or button.\n"
|
||||||
|
"\n"
|
||||||
"The identification includes the device binding name, axis or button "
|
"The identification includes the device binding name, axis or button "
|
||||||
"number, and (if known) the name of the axis or button. Axes and "
|
"number, and (if known) the name of the axis or button. Axes and "
|
||||||
"buttons can always be bound by number, so even those for which a "
|
"buttons can always be bound by number, so even those for which a "
|
||||||
"name is not known, but" PACKAGE_NAME " sees, can be bound."
|
"name is not known, but " PACKAGE_NAME " sees, can be bound."
|
||||||
},
|
},
|
||||||
{ }
|
{ }
|
||||||
#if 0
|
#if 0
|
||||||
|
|
|
@ -879,13 +879,14 @@ static imtcmd_t imt_commands[] = {
|
||||||
"Set the active imt of the specified context"
|
"Set the active imt of the specified context"
|
||||||
},
|
},
|
||||||
{ "imt_list", imt_list_f,
|
{ "imt_list", imt_list_f,
|
||||||
"List the available input mapping tables"
|
"List the available input mapping tables."
|
||||||
},
|
},
|
||||||
{ "imt_create", imt_create_f,
|
{ "imt_create", imt_create_f,
|
||||||
"create a new imt table:\n"
|
"create a new imt table:\n"
|
||||||
" imt_create <context> <imt_name> [chain_name]\n"
|
" imt_create <context> <imt_name> [chain_name]\n"
|
||||||
"\n"
|
"\n"
|
||||||
"The new table will be attached to the specified context\n"
|
"The new table will be attached to the specified context.\n"
|
||||||
|
"\n"
|
||||||
"imt_name must not already exist.\n"
|
"imt_name must not already exist.\n"
|
||||||
"If given, chain_name must already exist and be in the context.\n"
|
"If given, chain_name must already exist and be in the context.\n"
|
||||||
},
|
},
|
||||||
|
@ -894,15 +895,18 @@ static imtcmd_t imt_commands[] = {
|
||||||
" imt_switcher_create <name> <context> <default_imt> <input0>"
|
" imt_switcher_create <name> <context> <default_imt> <input0>"
|
||||||
" [..<inputN>]\n"
|
" [..<inputN>]\n"
|
||||||
"name is the name of the switcher and must be unique across all\n"
|
"name is the name of the switcher and must be unique across all\n"
|
||||||
"contexts\n"
|
"contexts.\n"
|
||||||
|
"\n"
|
||||||
"The new switcher will be attached to the specified context\n"
|
"The new switcher will be attached to the specified context\n"
|
||||||
|
"\n"
|
||||||
"default_imt specifies the default imt to be used for all possible\n"
|
"default_imt specifies the default imt to be used for all possible\n"
|
||||||
"states and must exist and be in the context.\n"
|
"states and must exist and be in the context.\n"
|
||||||
|
"\n"
|
||||||
"input0..inputN specify the inputs (cvar or button) used to set the\n"
|
"input0..inputN specify the inputs (cvar or button) used to set the\n"
|
||||||
"switcher's state. As each input forms a bit in the state index,\n"
|
"switcher's state. As each input forms a bit in the state index,\n"
|
||||||
"there will be 2**(N+1) states (so 4 inputs will result in 16\n"
|
"there will be 2**(N+1) states (so 4 inputs will result in 16\n"
|
||||||
"states, and 16 inputs will result in 65536 states). Up to 16 inputs\n"
|
"states, and 16 inputs will result in 65536 states). Up to 16 inputs\n"
|
||||||
"are allowed\n"
|
"are allowed.\n"
|
||||||
"\n"
|
"\n"
|
||||||
"Buttons are spefied as +buttonname (eg, +mlook, +strafe).\n"
|
"Buttons are spefied as +buttonname (eg, +mlook, +strafe).\n"
|
||||||
"Cvars are just the cvar name (eg, freelook, lookstrafe).\n"
|
"Cvars are just the cvar name (eg, freelook, lookstrafe).\n"
|
||||||
|
@ -920,13 +924,14 @@ static imtcmd_t imt_commands[] = {
|
||||||
"state_index is the state index formed by the binary number\n"
|
"state_index is the state index formed by the binary number\n"
|
||||||
"interpretation of the inputs with input0 being bit 0 and inputN\n"
|
"interpretation of the inputs with input0 being bit 0 and inputN\n"
|
||||||
"being bit N.\n"
|
"being bit N.\n"
|
||||||
|
"\n"
|
||||||
"imt is the name of the imt to be assigned to the state and must\n"
|
"imt is the name of the imt to be assigned to the state and must\n"
|
||||||
"exist and be in the same context as the switcher.\n"
|
"exist and be in the same context as the switcher.\n"
|
||||||
"\n"
|
"\n"
|
||||||
"Any number of state_index imt pairs can be specified.\n"
|
"Any number of state_index imt pairs can be specified.\n"
|
||||||
},
|
},
|
||||||
{ "imt_drop_all", imt_drop_all_f,
|
{ "imt_drop_all", imt_drop_all_f,
|
||||||
"delete all imt tables\n"
|
"Delete all imt tables.\n"
|
||||||
},
|
},
|
||||||
{},
|
{},
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue