Torque 3D - Script Manual: Input Event Listing

TorqueScript

Main   Class List   Namespace List   Online

Input Event Listing
[Input Management]

List of all possible input events that can be mapped. More...

List of all possible input events that can be mapped.

The following table represents all keyboard, mouse, and joystick input events available to stock Torque 3D. It should be noted that letter and number keys directly correlate to their mapping. For example "a" is literally the letter a. The button0, button1, and button2 are the most commonly used input mappings for left mouse button, right mouse button, and middle mouse button (respectively).

Keyboard General Events

Event Name

Event Name

Event Name

Event Name

Note: All general keys can be bound by simply using the key... ex. "u" will trigger the u key response.

backspace

end

win_apps

tilde

tab

home

cmd

minus

return

left

opt

equals

enter

up

lopt

lbracket

shift

right

ropt

rbracket

ctrl

down

numlock

backslash

alt

print

scrolllock

semicolon

pause

insert

rshift

apostrophe

capslock

delete

lcontrol

comma

escape

help

rcontrol

period

space

win_lwindow

lalt

slash

pagedown

win_rwindow

ralt

lessthan

pageup





Keyboard Numpad Events

Event Name

Event Name

Event Name

Event Name

numpad0

numpad5

numpad9

numpadminus

numpad1

numpad6

numpadadmult

numpaddecimal

numpad2

numpad7

numpadadd

numpaddivide

numpad3

numpad8

numpadsep

numpadenter

numpad4





Keyboard Function Key Events

Event Name

Event Name

Event Name

Event Name

f1

f7

f13

f19

f2

f8

f14

f20

f3

f9

f15

f21

f4

f10

f16

f22

f5

f11

f17

f23

f6

f12

f18

f24


Joystick/Mouse Events

Event Name

Event Name

Event Name

Event Name

button0

button8

button16

button24

button1

button9

button17

button25

button2

button10

button18

button26

button3

button11

button19

button27

button4

button12

button20

button28

button5

button13

button21

button29

button6

button14

button22

button30

button7

button15

button23

button31


Joystick/Mouse Axes

Event Name

Event Name

Event Name

Event Name

xaxis

zaxis

ryaxis

slider

yaxis

rxaxis

rzaxis



Joystick POV

Event Name

Event Name

Event Name

Event Name

xpov

dpov

xpov2

dpov2

ypov

lpov

ypov2

lpov2

upov

rpov

upov2

rpov2


Miscellaneous Events

Event Name

Event Name



anykey

nomatch



See also:
ActionMap



Copyright © GarageGames, LLC. All Rights Reserved.