Changed to SDL_GetKeyBoardState for input
authormatthew <matthew@owens.tech>
Sat, 13 Oct 2018 15:55:58 +0000 (16:55 +0100)
committermatthew <matthew@owens.tech>
Sat, 13 Oct 2018 15:55:58 +0000 (16:55 +0100)
commit0c11452470ff6f08fbb0cbaa8971164afcf0b82c
tree4fc07e33fab845e93aa0b928ac47240ff55d5320
parente818add9382ecb967b290ead5991fc570b05ff8c
Changed to SDL_GetKeyBoardState for input

Also moved input to a seperate translation unit, implemented the
InputDevice struct to facilitate multiple input devices in the
future
gl/camera.c
gl/camera.h
gl/input.c [new file with mode: 0644]
gl/input.h [new file with mode: 0644]
gl/main.c
gl/timestep.c