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

Author Topic: Special keyboard events  (Read 2738 times)

0 Members and 1 Guest are viewing this topic.

The Terminator

  • Full Member
  • ***
  • Posts: 224
  • Windows and Mac C++ Developer
    • View Profile
Special keyboard events
« on: November 11, 2012, 03:25:38 pm »
I was working on my game, and I thought special keyboard events might be a good idea for SFML. For example, let's say we had a character on a map. This character walked normally using wasd keys. Now, if we wanted to make the character run, we had to double click either of the wasd keys within a certain amount of time. I think it would be nice if SFML handled this :). Thanks for hearing me out
Current Projects:
Technoport

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Re: Special keyboard events
« Reply #1 on: November 11, 2012, 04:23:06 pm »
Quote
I think it would be nice if SFML handled this
Definitely not :P
Laurent Gomila - SFML developer

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 11032
    • View Profile
    • development blog
    • Email
Re: Special keyboard events
« Reply #2 on: November 11, 2012, 05:37:49 pm »
You can implement this easily on your own while using SFML. ;)
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

 

anything