mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-06-04 10:30:52 +00:00
Removed sensitivity.gib in favor of the more general ln.gib.
This commit is contained in:
parent
976edc87fd
commit
4a645da3d1
2 changed files with 27 additions and 8 deletions
27
doc/config/gib/ln.gib
Normal file
27
doc/config/gib/ln.gib
Normal file
|
@ -0,0 +1,27 @@
|
||||||
|
global ln
|
||||||
|
|
||||||
|
ln.invoke_f = {
|
||||||
|
local cvar
|
||||||
|
cvar = ${ln.cvar.$0}
|
||||||
|
if ($argc == 1) {
|
||||||
|
echo "\"", $0, "\" is \"", $$cvar, "\""
|
||||||
|
return
|
||||||
|
}
|
||||||
|
set $cvar $1
|
||||||
|
}
|
||||||
|
|
||||||
|
function "ln" {
|
||||||
|
if ($argc != 3) {
|
||||||
|
echo "usage: ln cvar cvar_alias"
|
||||||
|
return
|
||||||
|
}
|
||||||
|
ln.cvar.$2 = $1
|
||||||
|
function $2 ${ln.invoke_f}
|
||||||
|
export $2
|
||||||
|
}
|
||||||
|
|
||||||
|
export ln
|
||||||
|
|
||||||
|
// QuakeForge qwcl
|
||||||
|
ln "in_mouse_amp" "sensitivity"
|
||||||
|
ln "in_grab" "_windowed_mouse"
|
|
@ -1,8 +0,0 @@
|
||||||
function "sensitivity" {
|
|
||||||
if ($argc == 1) {
|
|
||||||
echo "\"", $0, "\" is \"", $in_mouse_amp, "\""
|
|
||||||
return
|
|
||||||
}
|
|
||||||
in_mouse_amp $1
|
|
||||||
}
|
|
||||||
export sensitivity
|
|
Loading…
Add table
Add a link
Reference in a new issue