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 | + | A full list of new input functions: |
- | ^ up|[[KeyUp]]|[[KeyUpAny]]|[[PlayerKeyUp]]|[[PlayerKeyUpAny]]| | + | |
- | ^ down|[[KeyDown]]|[[KeyDownAny]]|[[PlayerKeyDown]]|[[PlayerKeyDownAny]]| | + | ^ ^ Key ^ KeyAny |
- | ^ pressed|[[KeyPressed]]|[[KeyPressedAny]]|[[PlayerKeyPressed]]|[[PlayerKeyPressedAny]]| | + | ^ up|[[functions:KeyUp]]|[[functions:KeyUpAny]]|[[functions:PlayerKeyUp]]|[[functions:PlayerKeyUpAny]]| |
- | ^ released|[[KeyReleased]]|[[KeyReleasedAny]]|[[PlayerKeyReleased]]|[]PlayerKeyReleasedAny]]| | + | ^ down|[[functions:KeyDown]]|[[functions:KeyDownAny]]|[[functions:PlayerKeyDown]]|[[functions:PlayerKeyDownAny]]| |
+ | ^ pressed|[[functions:KeyPressed]]|[[functions:KeyPressedAny]]|[[functions:PlayerKeyPressed]]|[[functions:PlayerKeyPressedAny]]| | ||
+ | ^ released|[[functions:KeyReleased]]|[[functions:KeyReleasedAny]]|[[functions:PlayerKeyReleased]]|[[functions:PlayerKeyReleasedAny]]| | ||