Input Script: Difference between revisions
Jump to navigation
Jump to search
m
→SKSE Global Functions: Formatting Change
imported>JustinOther m (→SKSE Global Functions: Typo. Carp!) |
imported>CraftySentinel m (→SKSE Global Functions: Formatting Change) |
||
| Line 14: | Line 14: | ||
== SKSE Global Functions == | == SKSE Global Functions == | ||
{|class="wikitable" width =100% | |||
!style="text-align:left;"|Function | |||
!style="text-align:left;"|Description | |||
|- | |||
|[[IsKeyPressed - Input|Bool '''IsKeyPressed'''(Int ''dxKeycode'')]] | |||
|Returns whether a key is pressed | |||
|- | |||
|[[TapKey - Input|'''TapKey'''(Int ''dxKeycode'')]] | |||
|Taps the specified key | |||
|- | |||
|[[HoldKey - Input|'''HoldKey'''(Int ''dxKeycode'')]] | |||
|Holds down the specified key until released | |||
|- | |||
|[[ReleaseKey - Input|'''ReleaseKey'''(Int ''dxKeycode'')]] | |||
|Releases the specified key | |||
|- | |||
|[[GetNumKeysPressed - Input|Int '''GetNumKeysPressed'''()]] | |||
|How many keys are pressed | |||
|- | |||
|[[GetNthKeyPressed - Input|Int '''GetNthKeyPressed'''(Int ''n'')]] | |||
|For walking over the pressed keys | |||
|- | |||
|[[GetMappedKey - Input|Int '''GetMappedKey'''(String ''Control'', Int ''deviceType'')]] | |||
|Returns dxKeycode bound to a control for given device | |||
|- | |||
|} | |||
== Member Functions == | == Member Functions == | ||