Allow binding dig, place actions to keys; remove LMB/RMB hardcoding
Co-authored-by: Sam Caulfield <sam@samcaulfield.com>
This commit is contained in:
parent
858ae0dfdf
commit
2c1848211c
|
@ -110,9 +110,9 @@ doubletap_jump (Double tap jump for fly) bool false
|
||||||
# enabled.
|
# enabled.
|
||||||
always_fly_fast (Always fly and fast) bool true
|
always_fly_fast (Always fly and fast) bool true
|
||||||
|
|
||||||
# The time in seconds it takes between repeated right clicks when holding the right
|
# The time in seconds it takes between repeated node placements when holding
|
||||||
# mouse button.
|
# the place button.
|
||||||
repeat_rightclick_time (Rightclick repetition interval) float 0.25 0.001
|
repeat_place_time (Place repetition interval) float 0.25 0.001
|
||||||
|
|
||||||
# Automatically jump up single-node obstacles.
|
# Automatically jump up single-node obstacles.
|
||||||
autojump (Automatic jumping) bool false
|
autojump (Automatic jumping) bool false
|
||||||
|
@ -182,6 +182,14 @@ keymap_jump (Jump key) key KEY_SPACE
|
||||||
# See http://irrlicht.sourceforge.net/docu/namespaceirr.html#a54da2a0e231901735e3da1b0edf72eb3
|
# See http://irrlicht.sourceforge.net/docu/namespaceirr.html#a54da2a0e231901735e3da1b0edf72eb3
|
||||||
keymap_sneak (Sneak key) key KEY_LSHIFT
|
keymap_sneak (Sneak key) key KEY_LSHIFT
|
||||||
|
|
||||||
|
# Key for digging.
|
||||||
|
# See http://irrlicht.sourceforge.net/docu/namespaceirr.html#a54da2a0e231901735e3da1b0edf72eb3
|
||||||
|
keymap_dig (Dig key) key KEY_LBUTTON
|
||||||
|
|
||||||
|
# Key for placing.
|
||||||
|
# See http://irrlicht.sourceforge.net/docu/namespaceirr.html#a54da2a0e231901735e3da1b0edf72eb3
|
||||||
|
keymap_place (Place key) key KEY_RBUTTON
|
||||||
|
|
||||||
# Key for opening the inventory.
|
# Key for opening the inventory.
|
||||||
# See http://irrlicht.sourceforge.net/docu/namespaceirr.html#a54da2a0e231901735e3da1b0edf72eb3
|
# See http://irrlicht.sourceforge.net/docu/namespaceirr.html#a54da2a0e231901735e3da1b0edf72eb3
|
||||||
keymap_inventory (Inventory key) key KEY_KEY_I
|
keymap_inventory (Inventory key) key KEY_KEY_I
|
||||||
|
|
Loading…
Reference in New Issue