Customizing/Binding: Difference between revisions

→‎Bindable keys: cautionary note about binding to keys used by Dev Mode
(adding mention of Intel Mac build's bindable cheats)
(→‎Bindable keys: cautionary note about binding to keys used by Dev Mode)
Line 20: Line 20:


==Bindable keys==
==Bindable keys==
To see if the key or button you're trying to bind to is being received by Oni, you can enter <tt>chr_debug_characters=1</tt> on the console and watch the keypress event bitset in the display at the upper-right; it should be changing as you press and hold keys.
Below are the names of the keys you can bind actions to.  Please note that <tt>.</tt> and <tt>/</tt>, <tt>End</tt>, <tt>[</tt> and <tt>]</tt>, the F-keys, and <tt>Return/Enter</tt>, are hard-bound by Oni to [[Dev_Mode#Features|Developer Mode functions]]. To see if the key or button you're trying to bind to is being received by Oni, you can enter <tt>chr_debug_characters=1</tt> on the console and watch the keypress event bitset in the display at the upper-right; it should be changing as you press and hold keys.


{|class="wikitable" style="margin-left:auto; margin-right:auto;"
{|class="wikitable" style="margin-left:auto; margin-right:auto;"
Line 45: Line 45:
|-
|-
|Num Pad 0 ... Num Pad 9
|Num Pad 0 ... Num Pad 9
|(PC only) numpad0 ... numpad9 '''(1)'''
|(Windows only) numpad0 ... numpad9 '''(1)'''
|-
|-
|Num Pad '''* / + - .'''
|Num Pad '''* / + - .'''
Line 80: Line 80:
|leftoption/rightoption
|leftoption/rightoption
|-
|-
|(PC only) Left/Right Windows
|(Windows only) Left/Right Windows
|leftwindows/rightwindows
|leftwindows/rightwindows
|}
|}


'''(1)''' On Macs, bindings using "0-9" will be bound to both the keyboard's and numeric pad's 0-9 (in lieu of separate numpad bindings on Mac).
'''(1)''' On Macs, bindings using <tt>0 ... 9</tt> will be bound to both the keyboard's and numeric pad's 0-9 keys in lieu of support for num pad-specific bindings on Mac.


==Regular bindable events==
==Regular bindable events==