Input Script: Difference between revisions

152 bytes added ,  3 October 2012
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)'''
'''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]]()'''
'''Int Function [[GetNumKeysPressed - Input|GetNumKeysPressed]]()'''
*How many keys are pressed
*How many keys are pressed


'''int Function [[GetNthKeyPressed - Input|GetNthKeyPressed]](int n)'''
'''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 ==
Anonymous user