Add files via upload

Fix Typo in core.c
This commit is contained in:
DarkElvenAngel 2019-02-17 12:04:04 -05:00 committed by GitHub
parent 26e39b3021
commit a45235bddf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -25,6 +25,8 @@
* #define PLATFORM_RPI * #define PLATFORM_RPI
* Windowing and input system configured for Raspberry Pi i native mode (no X.org required, tested on Raspbian), * Windowing and input system configured for Raspberry Pi i native mode (no X.org required, tested on Raspbian),
* graphic device is managed by EGL and inputs are processed is raw mode, reading from /dev/input/ * graphic device is managed by EGL and inputs are processed is raw mode, reading from /dev/input/
* #define USERAWKEYBOARD
* Use with PLATFORM_RPI to use reading from /dev/input for Keyboard
* *
* #define PLATFORM_WEB * #define PLATFORM_WEB
* Windowing and input system configured for HTML5 (run on browser), code converted from C to asm.js * Windowing and input system configured for HTML5 (run on browser), code converted from C to asm.js
@ -88,6 +90,7 @@
**********************************************************************************************/ **********************************************************************************************/
#include "raylib.h" // Declares module functions #include "raylib.h" // Declares module functions
#define USERAWKEYBOARD
// Check if config flags have been externally provided on compilation line // Check if config flags have been externally provided on compilation line
#if !defined(EXTERNAL_CONFIG_FLAGS) #if !defined(EXTERNAL_CONFIG_FLAGS)
@ -3847,7 +3850,7 @@ static EM_BOOL EmscriptenGamepadCallback(int eventType, const EmscriptenGamepadE
} }
#endif #endif
#if defined(PLATFORM_RPI #if defined(PLATFORM_RPI)
#if !defined(USERAWKEYBOARD) #if !defined(USERAWKEYBOARD)
// Initialize Keyboard system (using standard input) // Initialize Keyboard system (using standard input)
static void InitKeyboard(void) static void InitKeyboard(void)