Add print statement

This commit is contained in:
jgk
2021-03-26 20:06:48 +01:00
parent 485952fe53
commit ca949a9d2b
+3 -1
View File
@@ -165,7 +165,9 @@ loadKeyConfig = do
putStrLn "invalid keys.json, loading default config"
-- This is duplicated but not sure how to reduce
return defaultKeyConfigSDL
else return defaultKeyConfigSDL
else do
putStrLn "No keys.json found, loading default config"
return defaultKeyConfigSDL
getSdlScancode :: Int -> SDL.Scancode
getSdlScancode x = SDL.Internal.Numbered.fromNumber (fromIntegral x) :: SDL.Scancode