Guild icon
Teeworlds
discord.gg/teeworlds / development
For discussions around the development of the official Teeworlds
Between 2021-06-04 00:00:00Z and 2021-06-05 00:00:00Z
Avatar
The last two commits fix issues with invalid key inputs:
  • Adjust size on mem_copy to only copy the valid keyboard state from the SDL array, mem_zero the remaining mouse and joystick state at the beginning.
  • Make sure keys and scancodes are within array bounds to prevent out of bound writes. Add missing scancode assignment to mouse wheel events and ignore scrolling in x direction.
This should at least prevent random segmentation faults when using currently unsupported keyboard layouts...
Exported 1 message(s)