GLUT_HAS_DIAL_AND_BUTTON_BOX officially not implemented on Android
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1286 7f0cb862-5218-0410-a997-914c9d46530a
This commit is contained in:
parent
6c78dcab37
commit
750e6d3aea
@ -32,37 +32,19 @@
|
|||||||
typedef struct _serialport SERIALPORT;
|
typedef struct _serialport SERIALPORT;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Try initializing the input device(s)
|
* This is only used if the user calls:
|
||||||
|
* glutDeviceGet(GLUT_HAS_DIAL_AND_BUTTON_BOX)
|
||||||
|
* and has old hardware called 'dials&buttons box'.
|
||||||
|
* http://www.reputable.com/sgipix/sgi-dialnbutton1.jpg
|
||||||
|
*
|
||||||
|
* Not implemented on Android :)
|
||||||
|
* http://sourceforge.net/mailarchive/message.php?msg_id=29209505
|
||||||
*/
|
*/
|
||||||
void fgPlatformRegisterDialDevice ( const char *dial_device )
|
void fgPlatformRegisterDialDevice ( const char *dial_device ) {
|
||||||
{
|
fgWarning("GLUT_HAS_DIAL_AND_BUTTON_BOX: not implemented");
|
||||||
fprintf(stderr, "fgPlatformRegisterDialDevice: STUB\n");
|
|
||||||
}
|
|
||||||
|
|
||||||
SERIALPORT *serial_open ( const char *device )
|
|
||||||
{
|
|
||||||
fprintf(stderr, "serial_open: STUB\n");
|
|
||||||
return NULL;
|
|
||||||
}
|
|
||||||
|
|
||||||
void serial_close(SERIALPORT *port)
|
|
||||||
{
|
|
||||||
fprintf(stderr, "serial_close: STUB\n");
|
|
||||||
}
|
|
||||||
|
|
||||||
int serial_getchar(SERIALPORT *port)
|
|
||||||
{
|
|
||||||
fprintf(stderr, "serial_getchar: STUB\n");
|
|
||||||
return EOF;
|
|
||||||
}
|
|
||||||
|
|
||||||
int serial_putchar(SERIALPORT *port, unsigned char ch)
|
|
||||||
{
|
|
||||||
fprintf(stderr, "serial_putchar: STUB\n");
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
void serial_flush ( SERIALPORT *port )
|
|
||||||
{
|
|
||||||
fprintf(stderr, "serial_flush: STUB\n");
|
|
||||||
}
|
}
|
||||||
|
SERIALPORT *serial_open ( const char *device ) {}
|
||||||
|
void serial_close(SERIALPORT *port) {}
|
||||||
|
int serial_getchar(SERIALPORT *port) { return EOF; }
|
||||||
|
int serial_putchar(SERIALPORT *port, unsigned char ch) { return 0; }
|
||||||
|
void serial_flush ( SERIALPORT *port ) {}
|
||||||
|
Reference in New Issue
Block a user