mirror of https://github.com/godotengine/godot
Disable X11 joystick functions also for OpenBSD
This commit is contained in:
parent
523e64d30b
commit
b14c90801f
|
|
@ -1673,7 +1673,7 @@ void OS_X11::close_joystick(int p_id) {
|
||||||
};
|
};
|
||||||
|
|
||||||
void OS_X11::probe_joystick(int p_id) {
|
void OS_X11::probe_joystick(int p_id) {
|
||||||
#ifndef __FreeBSD__
|
#if !defined(__FreeBSD__) && !defined(__OpenBSD__)
|
||||||
|
|
||||||
if (p_id == -1) {
|
if (p_id == -1) {
|
||||||
|
|
||||||
|
|
@ -1728,7 +1728,7 @@ void OS_X11::move_window_to_foreground() {
|
||||||
}
|
}
|
||||||
|
|
||||||
void OS_X11::process_joysticks() {
|
void OS_X11::process_joysticks() {
|
||||||
#ifndef __FreeBSD__
|
#if !defined(__FreeBSD__) && !defined(__OpenBSD__)
|
||||||
int bytes;
|
int bytes;
|
||||||
js_event events[32];
|
js_event events[32];
|
||||||
InputEvent ievent;
|
InputEvent ievent;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue