- 最后登录
- 2024-6-3
- 注册时间
- 2009-10-16
- 阅读权限
- 100
- 积分
- 18803
- 纳金币
- 17488
- 精华
- 1
|
Key Events (Interactive Behavior)
Summary
Provides custom events for the press and release of each key.
Category
Latest Behaviors
Author
Gavin Kistner
Difficulty
(Reference)
Time to Complete
5 Minutes
Downloads
Click Here
to download the associated files.
(This document covers version 1.0 of the 'Key Events' behavior, current as of 2005-Aug-04)
Description
Put this behavior anywhere in the scene to provide custom events for the press and release of each key, which can be referenced by a Studio action.
(This behavior will function the same whether you attach it to the Scene or to any other object; the only reason to attach it to other objects would be for convenient relative referencing by an object which uses this behavior.)
Events
a
_
down
Fires when the a key is pressed
a
_
up
Fires when the a key is released
b
_
down
Fires when the b key is pressed
b
_
up
Fires when the b key is released
c
_
down
Fires when the c key is pressed
c
_
up
Fires when the c key is released
d
_
down
Fires when the d key is pressed
d
_
up
Fires when the d key is released
e
_
down
Fires when the e key is pressed
e
_
up
Fires when the e key is released
f
_
down
Fires when the f key is pressed
f
_
up
Fires when the f key is released
g
_
down
Fires when the g key is pressed
g
_
up
Fires when the g key is released
h
_
down
Fires when the h key is pressed
h
_
up
Fires when the h key is released
i
_
down
Fires when the i key is pressed
i
_
up
Fires when the i key is released
j
_
down
Fires when the j key is pressed
j
_
up
Fires when the j key is released
k
_
down
Fires when the k key is pressed
k
_
up
Fires when the k key is released
l
_
down
Fires when the l key is pressed
l
_
up
Fires when the l key is released
m
_
down
Fires when the m key is pressed
m
_
up
Fires when the m key is released
n
_
down
Fires when the n key is pressed
n
_
up
Fires when the n key is released
o
_
down
Fires when the o key is pressed
o
_
up
Fires when the o key is released
p
_
down
Fires when the p key is pressed
p
_
up
Fires when the p key is released
q
_
down
Fires when the q key is pressed
q
_
up
Fires when the q key is released
r
_
down
Fires when the r key is pressed
r
_
up
Fires when the r key is released
s
_
down
Fires when the s key is pressed
s
_
up
Fires when the s key is released
t
_
down
Fires when the t key is pressed
t
_
up
Fires when the t key is released
u
_
down
Fires when the u key is pressed
u
_
up
Fires when the u key is released
v
_
down
Fires when the v key is pressed
v
_
up
Fires when the v key is released
w
_
down
Fires when the w key is pressed
w
_
up
Fires when the w key is released
x
_
down
Fires when the x key is pressed
x
_
up
Fires when the x key is released
y
_
down
Fires when the y key is pressed
y
_
up
Fires when the y key is released
z
_
down
Fires when the z key is pressed
z
_
up
Fires when the z key is released
back
_
down
Fires when the backspace key (delete on MacOS) is pressed
back
_
up
Fires when the backspace key (delete on MacOS) is released
tab
_
down
Fires when the tab key is pressed
tab
_
up
Fires when the tab key is released
clear
_
down
Fires when the clear key is pressed
clear
_
up
Fires when the clear key is released
return
_
down
Fires when the enter/return key is pressed
return
_
up
Fires when the enter/return key is released
shift
_
down
Fires when either shift key is pressed
shift
_
up
Fires when either shift key is released
lshift
_
down
Fires when the left shift key is pressed
lshift
_
up
Fires when the left shift key is released
rshift
_
down
Fires when the right shift key is pressed
rshift
_
up
Fires when the right shift key is released
control
_
down
Fires when either control key is pressed
control
_
up
Fires when either control key is released
lcontrol
_
down
Fires when the left control key is pressed
lcontrol
_
up
Fires when the left control key is released
rcontrol
_
down
Fires when the right control key is pressed
rcontrol
_
up
Fires when the right control key is released
pause
_
down
Fires when the pause key is pressed
pause
_
up
Fires when the pause key is released
capital
_
down
Fires when the caps lock key is pressed
capital
_
up
Fires when the caps lock key is released
escape
_
down
Fires when the esc key is pressed
escape
_
up
Fires when the esc key is released
space
_
down
Fires when the space bar is pressed
space
_
up
Fires when the space bar is released
insert
_
down
Fires when the insert key is pressed
insert
_
up
Fires when the insert key is released
del
_
down
Fires when the del key is pressed
del
_
up
Fires when the del key is released
home
_
down
Fires when the home key is pressed
home
_
up
Fires when the home key is released
end
_
down
Fires when the end key is pressed
end
_
up
Fires when the end key is released
prior
_
down
Fires when the page up key is pressed
prior
_
up
Fires when the page up key is released
next
_
down
Fires when the page down key is pressed
next
_
up
Fires when the page down key is released
help
_
down
Fires when the help key is pressed
help
_
up
Fires when the help key is released
up
_
down
Fires when the up arrow key is pressed
up
_
up
Fires when the up arrow key is released
down
_
down
Fires when the down arrow key is pressed
down
_
up
Fires when the down arrow key is released
left
_
down
Fires when the left arrow key is pressed
left
_
up
Fires when the left arrow key is released
right
_
down
Fires when the right arrow key is pressed
right
_
up
Fires when the right arrow key is released
select
_
down
Fires when the select key is pressed
select
_
up
Fires when the select key is released
print
_
down
Fires when the print key is pressed
print
_
up
Fires when the print key is released
snapshot
_
down
Fires when the print screen key is pressed
snapshot
_
up
Fires when the print screen key is released
zero
_
down
Fires when the 0 key is pressed
zero
_
up
Fires when the 0 key is released
one
_
down
Fires when the 1 key is pressed
one
_
up
Fires when the 1 key is released
two
_
down
Fires when the 2 key is pressed
two
_
up
Fires when the 2 key is released
three
_
down
Fires when the 3 key is pressed
three
_
up
Fires when the 3 key is released
four
_
down
Fires when the 4 key is pressed
four
_
up
Fires when the 4 key is released
five
_
down
Fires when the 5 key is pressed
five
_
up
Fires when the 5 key is released
six
_
down
Fires when the 6 key is pressed
six
_
up
Fires when the 6 key is released
seven
_
down
Fires when the 7 key is pressed
seven
_
up
Fires when the 7 key is released
eight
_
down
Fires when the 8 key is pressed
eight
_
up
Fires when the 8 key is released
nine
_
down
Fires when the 9 key is pressed
nine
_
up
Fires when the 9 key is released
numpad0
_
down
Fires when the numpad 0 key is pressed
numpad0
_
up
Fires when the numpad 0 key is released
numpad1
_
down
Fires when the numpad 1 key is pressed
numpad1
_
up
Fires when the numpad 1 key is released
numpad2
_
down
Fires when the numpad 2 key is pressed
numpad2
_
up
Fires when the numpad 2 key is released
numpad3
_
down
Fires when the numpad 3 key is pressed
numpad3
_
up
Fires when the numpad 3 key is released
numpad4
_
down
Fires when the numpad 4 key is pressed
numpad4
_
up
Fires when the numpad 4 key is released
numpad5
_
down
Fires when the numpad 5 key is pressed
numpad5
_
up
Fires when the numpad 5 key is released
numpad6
_
down
Fires when the numpad 6 key is pressed
numpad6
_
up
Fires when the numpad 6 key is released
numpad7
_
down
Fires when the numpad 7 key is pressed
numpad7
_
up
Fires when the numpad 7 key is released
numpad8
_
down
Fires when the numpad 8 key is pressed
numpad8
_
up
Fires when the numpad 8 key is released
numpad9
_
down
Fires when the numpad 9 key is pressed
numpad9
_
up
Fires when the numpad 9 key is released
multiply
_
down
Fires when the numpad * key is pressed
multiply
_
up
Fires when the numpad * key is released
add
_
down
Fires when the numpad + key is pressed
add
_
up
Fires when the numpad + key is released
separator
_
down
Fires when the separator key is pressed
separator
_
up
Fires when the separator key is released
subtract
_
down
Fires when the numpad - key is pressed
subtract
_
up
Fires when the numpad - key is released
decimal
_
down
Fires when the numpad . key is pressed
decimal
_
up
Fires when the numpad . key is released
divide
_
down
Fires when the numpad / key is pressed
divide
_
up
Fires when the numpad / key is released
numLock
_
down
Fires when the numLock key is pressed
numLock
_
up
Fires when the numLock key is released
scroll
_
down
Fires when the scroll key is pressed
scroll
_
up
Fires when the scroll key is released
semicolon
_
down
Fires when the semicolon key is pressed
semicolon
_
up
Fires when the semicolon key is released
minus
_
down
Fires when the minus key is pressed
minus
_
up
Fires when the minus key is released
equals
_
down
Fires when the equals key is pressed
equals
_
up
Fires when the equals key is released
comma
_
down
Fires when the comma key is pressed
comma
_
up
Fires when the comma key is released
period
_
down
Fires when the period key is pressed
period
_
up
Fires when the period key is released
tilde
_
down
Fires when the tilde key (~) is pressed
tilde
_
up
Fires when the tilde key (~) is released
forwardslash
_
down
Fires when the forwardslash key (/) is pressed
forwardslash
_
up
Fires when the forwardslash key (/) is released
backwardslash
_
down
Fires when the backslash key () is pressed
backwardslash
_
up
Fires when the backslash key () is released
openbracket
_
down
Fires when the openbracket key ([) is pressed
openbracket
_
up
Fires when the openbracket key ([) is released
closebracket
_
down
Fires when the closebracket key (]) is pressed
closebracket
_
up
Fires when the closebracket key (]) is released
quote
_
down
Fires when the quote key is pressed
quote
_
up
Fires when the quote key is released
f1
_
down
Fires when the F1 key is pressed
f1
_
up
Fires when the F1 key is released
f2
_
down
Fires when the F2 key is pressed
f2
_
up
Fires when the F2 key is released
f3
_
down
Fires when the F3 key is pressed
f3
_
up
Fires when the F3 key is released
f4
_
down
Fires when the F4 key is pressed
f4
_
up
Fires when the F4 key is released
f5
_
down
Fires when the F5 key is pressed
f5
_
up
Fires when the F5 key is released
f6
_
down
Fires when the F6 key is pressed
f6
_
up
Fires when the F6 key is released
f7
_
down
Fires when the F7 key is pressed
f7
_
up
Fires when the F7 key is released
f8
_
down
Fires when the F8 key is pressed
f8
_
up
Fires when the F8 key is released
f9
_
down
Fires when the F9 key is pressed
f9
_
up
Fires when the F9 key is released
f10
_
down
Fires when the F10 key is pressed
f10
_
up
Fires when the F10 key is released
f11
_
down
Fires when the F11 key is pressed
f11
_
up
Fires when the F11 key is released
f12
_
down
Fires when the F12 key is pressed
f12
_
up
Fires when the F12 key is released
f13
_
down
Fires when the F13 key is pressed
f13
_
up
Fires when the F13 key is released
f14
_
down
Fires when the F14 key is pressed
f14
_
up
Fires when the F14 key is released
f15
_
down
Fires when the F15 key is pressed
f15
_
up
Fires when the F15 key is released
f16
_
down
Fires when the F16 key is pressed
f16
_
up
Fires when the F16 key is released
f17
_
down
Fires when the F17 key is pressed
f17
_
up
Fires when the F17 key is released
f18
_
down
Fires when the F18 key is pressed
f18
_
up
Fires when the F18 key is released
f19
_
down
Fires when the F19 key is pressed
f19
_
up
Fires when the F19 key is released
f20
_
down
Fires when the F20 key is pressed
f20
_
up
Fires when the F20 key is released
f21
_
down
Fires when the F21 key is pressed
f21
_
up
Fires when the F21 key is released
f22
_
down
Fires when the F22 key is pressed
f22
_
up
Fires when the F22 key is released
f23
_
down
Fires when the F23 key is pressed
f23
_
up
Fires when the F23 key is released
f24
_
down
Fires when the F24 key is pressed
f24
_
up
Fires when the F24 key is released
Demonstration
View Demonstration Project
Download Project File
|
|