[ZScript] Expose controller joystick deltas to InputEvent

Remember, just because you request it, that doesn't mean you'll get it.

Moderator: GZDoom Developers

grahf78
Posts: 24
Joined: Sun Jun 21, 2020 10:11 pm
Graphics Processor: nVidia (Modern GZDoom)

[ZScript] Expose controller joystick deltas to InputEvent

Post by grahf78 »

Similar to how mousex and mousey deltas are sent through InputEvents, it would be convenient if similar values are sent for controller joysticks.

Currently, the only way to read joystick movement is by reading keycodes, but that does not account for diagonal movement, or movement acceleration.

Return to “Feature Suggestions [GZDoom]”