This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
input_functions [2017/04/15 18:12] – korshun | input_functions [2017/04/15 18:23] – korshun | ||
---|---|---|---|
Line 3: | Line 3: | ||
ACSUtils provides a simplified interface to [[zdoom> | ACSUtils provides a simplified interface to [[zdoom> | ||
- | Every key can be | + | Each key can be |
* **Up** or **down** at any moment. | * **Up** or **down** at any moment. | ||
* **Pressed**, | * **Pressed**, | ||
Line 36: | Line 36: | ||
===== Functions ===== | ===== Functions ===== | ||
- | ACSUtils provides | + | ACSUtils provides |
* '' | * '' | ||
Line 50: | Line 50: | ||
===== Function list ===== | ===== Function list ===== | ||
- | ^ state ^ KeyState ^ KeyStateAny ^ PlayerKeyState^ PlayerKeyStateAny ^ | + | A full list of new input functions: |
- | ^ up|[[KeyUp]]|[[KeyUpAny]]|[[PlayerKeyUp]]|[[PlayerKeyUpAny]]| | + | |
- | ^ down|[[KeyDown]]|[[KeyDownAny]]|[[PlayerKeyDown]]|[[PlayerKeyDownAny]]| | + | |
- | ^ pressed|[[KeyPressed]]|[[KeyPressedAny]]|[[PlayerKeyPressed]]|[[PlayerKeyPressedAny]]| | + | |
- | ^ released|[[KeyReleased]]|[[KeyReleasedAny]]|[[PlayerKeyReleased]]|[PlayerKeyReleasedAny]]| | + | |
+ | ^ ^ Key ^ KeyAny ^ PlayerKey^ PlayerKeyAny ^ | ||
+ | ^ up|[[functions: | ||
+ | ^ down|[[functions: | ||
+ | ^ pressed|[[functions: | ||
+ | ^ released|[[functions: | ||
- | * [[KeyUp]] | ||
- | * [[KeyDown]] | ||
- | * [[KeyPressed]] | ||
- | * [[KeyReleased]] | ||
- | |||
- | * [[KeyUpAny]] | ||
- | * [[KeyDownAny]] | ||
- | * [[KeyPressedAny]] | ||
- | * [[KeyReleasedAny]] | ||
- | |||
- | * [[PlayerKeyUp]] | ||
- | * [[ | ||