storing data in static classes
Hi, i have made a static input class which should store, in the form of an array of bools, which keys have been pressed. the problem is it actualy doesnt store them for longer than the scope of the function. Is this because it is a static class.
i need this functionality so that i can work out key release to stop recurring pressing of keys when keys are pressed. we are using windows input ie GetKeyState, does this have functionality inbuilt to say if the key has been released.