diff --git a/terrainrenderer.go b/terrainrenderer.go index cfd3837..ed97417 100644 --- a/terrainrenderer.go +++ b/terrainrenderer.go @@ -34,7 +34,7 @@ func (r *terrainRenderer) Init(ctx *Context) error { func isControlKeyDown() bool { state := sdl.GetKeyboardState() - return state[sdl.SCANCODE_LCTRL] == 1 || state[sdl.SCANCODE_RCTRL] == 1 + return state[sdl.SCANCODE_LCTRL] == 1 || state[sdl.SCANCODE_RCTRL] == 1 || state[sdl.SCANCODE_LGUI] == 1 || state[sdl.SCANCODE_RGUI] == 1 } func (r *terrainRenderer) Handle(ctx *Context, event sdl.Event) bool {