Input Script: Difference between revisions

Jump to navigation Jump to search
98 bytes added ,  24 October 2013
m
→‎SKSE Global Functions: Formatting Change
imported>JustinOther
imported>CraftySentinel
m (→‎SKSE Global Functions: Formatting Change)
Line 14: Line 14:
== SKSE Global Functions ==
== SKSE Global Functions ==


'''Bool Function [[IsKeyPressed - Input|IsKeyPressed]](Int dxKeycode)'''
{|class="wikitable" width =100%
*Returns whether a key is pressed
!style="text-align:left;"|Function
!style="text-align:left;"|Description
|-
|[[IsKeyPressed - Input|Bool '''IsKeyPressed'''(Int ''dxKeycode'')]]
|Returns whether a key is pressed
|-


'''Function [[TapKey - Input|TapKey]](Int dxKeycode)'''
|[[TapKey - Input|'''TapKey'''(Int ''dxKeycode'')]]
*Taps the specified key
|Taps the specified key
|-


'''Function [[HoldKey - Input|HoldKey]](Int dxKeycode)'''
|[[HoldKey - Input|'''HoldKey'''(Int ''dxKeycode'')]]
*Holds down the specified key until released
|Holds down the specified key until released
|-


'''Function [[ReleaseKey - Input|ReleaseKey]](Int dxKeycode)'''
|[[ReleaseKey - Input|'''ReleaseKey'''(Int ''dxKeycode'')]]
*Releases the specified key
|Releases the specified key
|-


'''Int Function [[GetNumKeysPressed - Input|GetNumKeysPressed]]()'''
|[[GetNumKeysPressed - Input|Int '''GetNumKeysPressed'''()]]
*How many keys are pressed
|How many keys are pressed
|-


'''Int Function [[GetNthKeyPressed - Input|GetNthKeyPressed]](Int n)'''
|[[GetNthKeyPressed - Input|Int '''GetNthKeyPressed'''(Int ''n'')]]
*For walking over the pressed keys
|For walking over the pressed keys
|-


'''Int Function [[GetMappedKey - Input|GetMappedKey]](String Control, Int deviceType = 0xFF)'''
|[[GetMappedKey - Input|Int '''GetMappedKey'''(String ''Control'', Int ''deviceType'')]]
*Returns dxKeycode bound to a control for given device
|Returns dxKeycode bound to a control for given device
|-
 
|}


== Member Functions ==
== Member Functions ==

Navigation menu