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.

Topics - Ajm113

Pages: [1]
Window / Get Key ID When Key Is Pressed? (C++)
« on: February 21, 2009, 11:34:07 pm »
Hello, SFML community!

Ok, I decided to get my game going on for Linux and Mac from Win32, but I needed a good API that was portable easy and this API looks about right! :wink:

Ok, I got a bool array of 256. What I want to do is so the ID number of a key was pressed like A was pressed row 1 of that array will be set to true and when A is released row 1 is set to false.

How can I do that? Like Wparam and Win32 examples show sometimes.

Pages: [1]