Add print statement
This commit is contained in:
+3
-1
@@ -165,7 +165,9 @@ loadKeyConfig = do
|
|||||||
putStrLn "invalid keys.json, loading default config"
|
putStrLn "invalid keys.json, loading default config"
|
||||||
-- This is duplicated but not sure how to reduce
|
-- This is duplicated but not sure how to reduce
|
||||||
return defaultKeyConfigSDL
|
return defaultKeyConfigSDL
|
||||||
else return defaultKeyConfigSDL
|
else do
|
||||||
|
putStrLn "No keys.json found, loading default config"
|
||||||
|
return defaultKeyConfigSDL
|
||||||
|
|
||||||
getSdlScancode :: Int -> SDL.Scancode
|
getSdlScancode :: Int -> SDL.Scancode
|
||||||
getSdlScancode x = SDL.Internal.Numbered.fromNumber (fromIntegral x) :: SDL.Scancode
|
getSdlScancode x = SDL.Internal.Numbered.fromNumber (fromIntegral x) :: SDL.Scancode
|
||||||
|
|||||||
Reference in New Issue
Block a user