diff options
author | Rob Messick <robmessick@gmail.com> | 2014-02-23 12:21:31 -0800 |
---|---|---|
committer | Rob Messick <robmessick@gmail.com> | 2014-02-23 12:21:31 -0800 |
commit | 026566f87222d4ef0f80f7d9f50373ff98310f2a (patch) | |
tree | e1750ac65c2580b95667951f17f1a71e4fc132bc | |
parent | fd03693df1a7e86ce6fef7f077398deb91e81e95 (diff) |
ifdef out body of probe_joystick and process_joysticks on freebsd until a working implementation is completed
-rw-r--r-- | platform/x11/os_x11.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/platform/x11/os_x11.cpp b/platform/x11/os_x11.cpp index 2d536f2311..a09575bad5 100644 --- a/platform/x11/os_x11.cpp +++ b/platform/x11/os_x11.cpp @@ -1034,6 +1034,7 @@ void OS_X11::close_joystick(int p_id) { }; void OS_X11::probe_joystick(int p_id) { + #ifndef __FreeBSD__ if (p_id == -1) { for (int i=0; i<JOYSTICKS_MAX; i++) { @@ -1067,6 +1068,7 @@ void OS_X11::probe_joystick(int p_id) { ++i; }; + #endif }; void OS_X11::move_window_to_foreground() { @@ -1075,6 +1077,7 @@ void OS_X11::move_window_to_foreground() { } void OS_X11::process_joysticks() { + #ifndef __FreeBSD__ int bytes; js_event events[32]; InputEvent ievent; @@ -1173,6 +1176,7 @@ void OS_X11::process_joysticks() { }; }; }; + #endif }; void OS_X11::set_cursor_shape(CursorShape p_shape) { |