(The numpad keys can be tricky, as they duplicate other keys on the main keyboard. They are: numpad[0-9], add, subtract, multiply, divide and decimal.)
It is possible to bind actions to mouse buttons too but only the middle mouse button ''MOUSE2'' seems to have any effect.
'''<action>''' is a bindable action as listed in the table below.
bind F2 "toggle inventory"
To see the current key bind you can issue the command with only the key name
bind <key>
To remove a key bind assign an empty command
bind <key> ""
To list all key binds use the console command
dump binds
Keys bound to actions are sensitive to the mouse cursor's hover location/position and object highlight. So, if the cursor is hovering over an item in an [[inventory]] or highlighting an item on the ground (or a [[tile]] itself for other binds), and the <tt>TAKE</tt> bind key is pressed, that item will be taken. It is not necessary to left-click the mouse button in order to select an item first either; just hovering the mouse over something will allow the key bind to affect it.