.Dt GLUTDEVICEGET 3 LOCAL
NAME glutDeviceGet —Allows you to get some device state/option variables.
LIBRARYOpenGLUT - inputstate
SYNOPSIS #include <openglut.h>
int glutDeviceGet(GLenum eWhat);
PARAMETERS. Bf
eWhat . Ef
Enumerated parameter ID.
DESCRIPTIONRetrieves some system-specific information about attached devices. Supported device queries are:
- . Bf
GLUT_HAS_JOYSTICK . Ef
Return non-zero if there is a joystick.
- . Bf
GLUT_HAS_KEYBOARD . Ef
Return non-zero if there is a keyboard.
- . Bf
GLUT_HAS_MOUSE . Ef
Return non-zero if there is a mouse.
- . Bf
GLUT_HAS_SPACEBALL . Ef
Return non-zero if there is a spaceball.
- . Bf
GLUT_JOYSTICK_AXES . Ef
Return the number of axes for the joystick.
- . Bf
GLUT_JOYSTICK_POLL_RATE . Ef
Return the rate (in GLUT timer ticks?) at which the joystick is polled.
- . Bf
GLUT_NUM_MOUSE_BUTTONS . Ef
Return the number of buttons that the user's mouse has.
- . Bf
GLUT_OWNS_JOYSTICK . Ef
Return non-zero if OpenGLUT believes that it has successfully acquired access to the joystick.
- . Bf
GLUT_DEVICE_IGNORE_KEY_REPEAT . Ef
Return non-zero if the . Bf
current window . Ef
is set to disable key repeating.
- . Bf
GLUT_DEVICE_KEY_REPEAT . Ef
Described as returning the key repeat rate in one place, but actually returns a key repeat mode.
- . Bf
GLUT_HAS_DIAL_AND_BUTTON_BOX . Ef
Return non-zero if a dials-and-buttons box is present.
- . Bf
GLUT_HAS_TABLET . Ef
Return non-zero if a tablet is present.
- . Bf
GLUT_NUM_BUTTON_BOX_BUTTONS . Ef
Return the number of buttons on a dials-and-buttons box, if any.
- . Bf
GLUT_NUM_DIALS . Ef
Return the number of dials on a dials-and-buttons box, if any.
- . Bf
GLUT_NUM_SPACEBALL_BUTTONS . Ef
Return the number of buttons on a spaceball, if any.
- . Bf
GLUT_NUM_TABLET_BUTTONS . Ef
Return the number of buttons on a tablet, if any.
TODOOnly supports querying for one joystick. Consider moving to a table-based approach rather than a switch(), letting us move to modular functions.
BUGSKeyboards are optional, but OpenGLUT doesn't detect their absence. Mice are optional, but OpenGLUT is only able to check for them under WIN32. Mice can have a varying number of buttons, but OpenGLUT assumes exactly 3 on UNIX_X11. Not all joystick queries are implemented yet. . Bf
GLUT_DEVICE_KEY_REPEAT . Ef
returns the key repeat mode, but the comment says it returns the . Bf
rate . Ef
. Some things, like joystick poll rates, seem to have insufficient context. Which joystick? Which window? Maybe we assume the . Bf
current window . Ef
and the current joystick (or the first one)? . Bf
GLUT_DEVICE_KEY_REPEAT . Ef
should probably return . Bf
ogState.KeyRepeat. . Ef
SEE ALSOglutSetOption(3) glutGet(3) glutGetModifiers(3) glutLayerGet(3) fl.sp 3 0
Johanes Gumabo
Data Size : 10,199 byte
man-glutDeviceGet.3Build : 2024-12-05, 20:55 :
Visitor Screen : x
Visitor Counter ( page / site ) : 2 / 202,562
Visitor ID : :
Visitor IP : 3.147.78.185 :
Visitor Provider : AMAZON-02 :
Provider Position ( lat x lon ) : 39.962500 x -83.006100 : x
Provider Accuracy Radius ( km ) : 1000 :
Provider City : Columbus :
Provider Province : Ohio , : ,
Provider Country : United States :
Provider Continent : North America :
Visitor Recorder : Version :
Visitor Recorder : Library :
Online Linux Manual Page : Version : Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.05
Online Linux Manual Page : Library : lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page : Library : lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base : Version : Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base : Library : lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36
Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.
ERROR : Need New Coding : (parse_manual_page_|249|glutDeviceGet.3|2|Dt|.Dt GLUTDEVICEGET 3 LOCAL
) (parse_manual_page_|249|glutDeviceGet.3|15|Bf|.Bf Em
) (parse_manual_page_|249|glutDeviceGet.3|17|Ef|.Ef
) (parse_manual_page_|249|glutDeviceGet.3|24|Bf|.Bf Sy
) (parse_manual_page_|249|glutDeviceGet.3|26|Ef|.Ef
) (parse_manual_page_|249|glutDeviceGet.3|32|Bf|.Bf Sy
) (parse_manual_page_|249|glutDeviceGet.3|34|Ef|.Ef
) (parse_manual_page_|249|glutDeviceGet.3|40|Bf|.Bf Sy
) (parse_manual_page_|249|glutDeviceGet.3|42|Ef|.Ef
) (parse_manual_page_|249|glutDeviceGet.3|48|Bf|.Bf Sy
) (parse_manual_page_|249|glutDeviceGet.3|50|Ef|.Ef
) (parse_manual_page_|249|glutDeviceGet.3|56|Bf|.Bf Sy
) (parse_manual_page_|249|glutDeviceGet.3|58|Ef|.Ef
) (parse_manual_page_|249|glutDeviceGet.3|64|Bf|.Bf Sy
) (parse_manual_page_|249|glutDeviceGet.3|66|Ef|.Ef
) (parse_manual_page_|249|glutDeviceGet.3|73|Bf|.Bf Sy
) (parse_manual_page_|249|glutDeviceGet.3|75|Ef|.Ef
) (parse_manual_page_|249|glutDeviceGet.3|82|Bf|.Bf Sy
) (parse_manual_page_|249|glutDeviceGet.3|84|Ef|.Ef
) (parse_manual_page_|249|glutDeviceGet.3|91|Bf|.Bf Sy
) (parse_manual_page_|249|glutDeviceGet.3|93|Ef|.Ef
) (parse_manual_page_|249|glutDeviceGet.3|97|Bf|.Bf Li
) (parse_manual_page_|249|glutDeviceGet.3|99|Ef|.Ef
) (parse_manual_page_|249|glutDeviceGet.3|104|Bf|.Bf Sy
) (parse_manual_page_|249|glutDeviceGet.3|106|Ef|.Ef
) (parse_manual_page_|249|glutDeviceGet.3|113|Bf|.Bf Sy
) (parse_manual_page_|249|glutDeviceGet.3|115|Ef|.Ef
) (parse_manual_page_|249|glutDeviceGet.3|122|Bf|.Bf Sy
) (parse_manual_page_|249|glutDeviceGet.3|124|Ef|.Ef
) (parse_manual_page_|249|glutDeviceGet.3|130|Bf|.Bf Sy
) (parse_manual_page_|249|glutDeviceGet.3|132|Ef|.Ef
) (parse_manual_page_|249|glutDeviceGet.3|139|Bf|.Bf Sy
) (parse_manual_page_|249|glutDeviceGet.3|141|Ef|.Ef
) (parse_manual_page_|249|glutDeviceGet.3|148|Bf|.Bf Sy
) (parse_manual_page_|249|glutDeviceGet.3|150|Ef|.Ef
) (parse_manual_page_|249|glutDeviceGet.3|156|Bf|.Bf Sy
) (parse_manual_page_|249|glutDeviceGet.3|158|Ef|.Ef
) (parse_manual_page_|249|glutDeviceGet.3|177|Bf|.Bf Sy
) (parse_manual_page_|249|glutDeviceGet.3|179|Ef|.Ef
) (parse_manual_page_|249|glutDeviceGet.3|181|Bf|.Bf Li
) (parse_manual_page_|249|glutDeviceGet.3|183|Ef|.Ef
) (parse_manual_page_|249|glutDeviceGet.3|187|Bf|.Bf Li
) (parse_manual_page_|249|glutDeviceGet.3|189|Ef|.Ef
) (parse_manual_page_|249|glutDeviceGet.3|192|Bf|.Bf Sy
) (parse_manual_page_|249|glutDeviceGet.3|194|Ef|.Ef
) (parse_manual_page_|249|glutDeviceGet.3|196|Bf|.Bf Sy
) (parse_manual_page_|249|glutDeviceGet.3|198|Ef|.Ef
)