Timeline for how to detect same keyboard key press only once
Current License: CC BY-SA 3.0
6 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| May 15, 2015 at 0:56 | answer | added | BossLetsPlays | timeline score: 0 | |
| Sep 29, 2013 at 13:35 | vote | accept | user | ||
| Sep 29, 2013 at 12:57 | answer | added | Jacqui Gurto | timeline score: 0 | |
| Sep 29, 2013 at 9:36 | answer | added | Katu | timeline score: 1 | |
| Sep 29, 2013 at 9:31 | comment | added | jalgames | I'm not familiar to DirectX, and I don't understand all your code, but in XNA, I'd just create booleans for each key and store wheather the key is pressed or not. If you now detect "a key is down", just check "Was it down last update" and fire the event just if it wasn't. | |
| Sep 29, 2013 at 9:00 | history | asked | user | CC BY-SA 3.0 |