Welcome, Guest. Please login or register. Did you miss your activation email?

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Jibble Sandwich

Pages: [1]
1
Window / Re: Caps lock
« on: December 27, 2017, 11:56:21 pm »
Well, caps lock is a modifier which simulates a long press on the shift key. Why would you want to detect presses on this key?


In case someone wants to bind it to something. Caps lock is a prime pinky key for anyone using WASD, so it's a pretty important thing to support for video game developers. Whats funny is that SFML(at least as of 2.4.2) does trigger a KeyPressed event for caps Lock but the keycode is -1(Unknown). So it works fine as long as the player hasn't bound other unknown keys.

Pages: [1]
anything