|
| 1 | +/* |
| 2 | + * Copyright (c) 2024 Alberto Mardegan <mardy@users.sourceforge.net> |
| 3 | + * |
| 4 | + * Permission is hereby granted, free of charge, to any person obtaining a |
| 5 | + * copy of this software and associated documentation files (the "Software"), |
| 6 | + * to deal in the Software without restriction, including without limitation |
| 7 | + * the rights to use, copy, modify, merge, publish, distribute, sublicense, |
| 8 | + * and/or sell copies of the Software, and to permit persons to whom the |
| 9 | + * Software is furnished to do so, subject to the following conditions: |
| 10 | + * |
| 11 | + * The above copyright notice and this permission notice shall be included |
| 12 | + * in all copies or substantial portions of the Software. |
| 13 | + * |
| 14 | + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS |
| 15 | + * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
| 16 | + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL |
| 17 | + * MANUEL BACHMANN BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER |
| 18 | + * IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN |
| 19 | + * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
| 20 | + */ |
| 21 | + |
| 22 | +#include "fg_common_ogc.h" |
| 23 | + |
| 24 | +void fgPlatformInitialiseInputDevices(void) |
| 25 | +{ |
| 26 | + fgWarning("%s() : not implemented", __func__); |
| 27 | +} |
| 28 | + |
| 29 | +void fgPlatformCloseInputDevices(void) |
| 30 | +{ |
| 31 | + fgWarning("%s() : not implemented", __func__); |
| 32 | +} |
| 33 | + |
| 34 | +void fgPlatformInitializeSpaceball(void) |
| 35 | +{ |
| 36 | + fgWarning("%s() : not implemented", __func__); |
| 37 | +} |
| 38 | + |
| 39 | +void fgPlatformSpaceballClose(void) |
| 40 | +{ |
| 41 | + fgWarning("%s() : not implemented", __func__); |
| 42 | +} |
| 43 | + |
| 44 | +void fgPlatformSpaceballSetWindow(SFG_Window *window) |
| 45 | +{ |
| 46 | + fgWarning("%s() : not implemented", __func__); |
| 47 | +} |
| 48 | + |
| 49 | +int fgPlatformHasSpaceball(void) |
| 50 | +{ |
| 51 | + fgWarning("%s() : not implemented", __func__); |
| 52 | + return 0; |
| 53 | +} |
| 54 | + |
| 55 | +int fgPlatformSpaceballNumButtons(void) |
| 56 | +{ |
| 57 | + fgWarning("%s() : not implemented", __func__); |
| 58 | + return 0; |
| 59 | +} |
| 60 | + |
| 61 | +typedef struct _serialport SERIALPORT; |
| 62 | + |
| 63 | +void fgPlatformRegisterDialDevice ( const char *dial_device ) { |
| 64 | + fgWarning("GLUT_HAS_DIAL_AND_BUTTON_BOX: not implemented"); |
| 65 | +} |
| 66 | +SERIALPORT *fg_serial_open (const char *device) { return NULL; } |
| 67 | +void fg_serial_close(SERIALPORT *port) {} |
| 68 | +int fg_serial_getchar(SERIALPORT *port) { return EOF; } |
| 69 | +int fg_serial_putchar(SERIALPORT *port, unsigned char ch) { return 0; } |
| 70 | +void fg_serial_flush(SERIALPORT *port) {} |
0 commit comments