Input Script: Difference between revisions
m
→SKSE Global Functions: Added GetMappedKey
imported>JustinOther m (Added gamepad DX codes) |
imported>JustinOther m (→SKSE Global Functions: Added GetMappedKey) |
||
| Line 14: | Line 14: | ||
== SKSE Global Functions == | == SKSE Global Functions == | ||
''' | '''Bool Function [[IsKeyPressed - Input|IsKeyPressed]](Int dxKeycode)''' | ||
*Returns whether a key is pressed | *Returns whether a key is pressed | ||
| Line 26: | Line 26: | ||
*Releases the specified key | *Releases the specified key | ||
''' | '''Int Function [[GetNumKeysPressed - Input|GetNumKeysPressed]]()''' | ||
*How many keys are pressed | *How many keys are pressed | ||
''' | '''Int Function [[GetNthKeyPressed - Input|GetNthKeyPressed]](Int n)''' | ||
*For walking over the pressed keys | *For walking over the pressed keys | ||
'''Int Function [[GetMappedKey - Inout|GetMappedKey]](String Control, Int deviceType = 0xFF)''' | |||
*Returns dxKeycode bound to a control for given device | |||
== Member Functions == | == Member Functions == | ||