+ switch( eWhat )
+ {
+ case GLUT_HAS_KEYBOARD:
+ /* Android has a keyboard, though it may be virtual. */
+ return 1;
+
+ case GLUT_HAS_MOUSE:
+ /* Android has a touchscreen; until we get proper touchscreen
+ support, consider it as a mouse. */
+ return 1 ;
+
+ case GLUT_NUM_MOUSE_BUTTONS:
+ /* Android has a touchscreen; until we get proper touchscreen
+ support, consider it as a 1-button mouse. */
+ return 1;
+
+ default:
+ fgWarning( "glutDeviceGet(): missing enum handle %d", eWhat );
+ break;
+ }
+
+ /* And now -- the failure. */
+ return -1;