index
gfm.core.memory
gfm.core.queue
gfm.math.box
gfm.math.funcs
gfm.math.matrix
gfm.math.quaternion
gfm.math.shapes
gfm.math.simplerng
gfm.math.vector
gfm.integers.fixedpoint
gfm.integers.half
gfm.integers.wideint
gfm.sdl2.audio
gfm.sdl2.keyboard
gfm.sdl2.mouse
gfm.sdl2.renderer
gfm.sdl2.sdl
gfm.sdl2.sdlimage
gfm.sdl2.sdlmixer
gfm.sdl2.sdlttf
gfm.sdl2.surface
gfm.sdl2.texture
gfm.sdl2.timer
gfm.sdl2.window
gfm.opengl.buffer
gfm.opengl.fbo
gfm.opengl.matrixstack
gfm.opengl.opengl
gfm.opengl.program
gfm.opengl.renderbuffer
gfm.opengl.shader
gfm.opengl.texture
gfm.opengl.uniform
gfm.opengl.uniformblock
gfm.opengl.vao
gfm.opengl.vertex
gfm.freeimage.fibitmap
gfm.freeimage.freeimage
gfm.assimp.assimp
gfm.assimp.scene
gfm.logger.log
gfm
Reference
Github Page
Modules
index
gfm.core.memory
gfm.core.queue
gfm.math.box
gfm.math.funcs
gfm.math.matrix
gfm.math.quaternion
gfm.math.shapes
gfm.math.simplerng
gfm.math.vector
gfm.integers.fixedpoint
gfm.integers.half
gfm.integers.wideint
gfm.sdl2.audio
gfm.sdl2.keyboard
gfm.sdl2.mouse
gfm.sdl2.renderer
gfm.sdl2.sdl
gfm.sdl2.sdlimage
gfm.sdl2.sdlmixer
gfm.sdl2.sdlttf
gfm.sdl2.surface
gfm.sdl2.texture
gfm.sdl2.timer
gfm.sdl2.window
gfm.opengl.buffer
gfm.opengl.fbo
gfm.opengl.matrixstack
gfm.opengl.opengl
gfm.opengl.program
gfm.opengl.renderbuffer
gfm.opengl.shader
gfm.opengl.texture
gfm.opengl.uniform
gfm.opengl.uniformblock
gfm.opengl.vao
gfm.opengl.vertex
gfm.freeimage.fibitmap
gfm.freeimage.freeimage
gfm.assimp.assimp
gfm.assimp.scene
gfm.logger.log
gfm.sdl2.keyboard
gfm.sdl2.keyboard
class
SDL2Keyboard
;
Holds SDL keyboard state.
Known Bugs
This class should disappear.
bool
isPressed
(SDL_Keycode
key
);
Returns
true
if a
key
is pressed.
bool
testAndRelease
(SDL_Keycode
key
);
Mark a
key
as unpressed.
Returns
true
if a
key
was pressed.