diff options
| author | Ray <[email protected]> | 2020-06-30 11:05:09 +0200 |
|---|---|---|
| committer | Ray <[email protected]> | 2020-06-30 11:05:09 +0200 |
| commit | 5986eee6ab0c69045b1115d30b9f7d8a42d2f330 (patch) | |
| tree | 1b06c47e0b5907769463c1aae436d95142c39c09 /src/core.c | |
| parent | 00557df17fc1654688b3306cfbee86fa8c725366 (diff) | |
| download | raylib-5986eee6ab0c69045b1115d30b9f7d8a42d2f330.tar.gz raylib-5986eee6ab0c69045b1115d30b9f7d8a42d2f330.zip | |
Expose additional configuration options
Some internal defines have been exposed in config.h
Diffstat (limited to 'src/core.c')
| -rw-r--r-- | src/core.c | 13 |
1 files changed, 3 insertions, 10 deletions
@@ -119,7 +119,7 @@ #if !defined(EXTERNAL_CONFIG_FLAGS) #include "config.h" // Defines module configuration flags #else - #define RAYLIB_VERSION "3.0" + #define RAYLIB_VERSION "3.1-dev" #endif #include "utils.h" // Required for: TRACELOG macros @@ -269,15 +269,8 @@ #if defined(PLATFORM_RPI) #define USE_LAST_TOUCH_DEVICE // When multiple touchscreens are connected, only use the one with the highest event<N> number - // Old device inputs system - #define DEFAULT_KEYBOARD_DEV STDIN_FILENO // Standard input - #define DEFAULT_GAMEPAD_DEV "/dev/input/js" // Gamepad input (base dev for all gamepads: js0, js1, ...) - #define DEFAULT_EVDEV_PATH "/dev/input/" // Path to the linux input events - - // New device input events (evdev) (must be detected) - //#define DEFAULT_KEYBOARD_DEV "/dev/input/eventN" - //#define DEFAULT_MOUSE_DEV "/dev/input/eventN" - //#define DEFAULT_GAMEPAD_DEV "/dev/input/eventN" + #define DEFAULT_GAMEPAD_DEV "/dev/input/js" // Gamepad input (base dev for all gamepads: js0, js1, ...) + #define DEFAULT_EVDEV_PATH "/dev/input/" // Path to the linux input events #endif #ifndef MAX_FILEPATH_LENGTH |
