glutSpaceballMotionFunc



glutSpaceballMotionFunc

NAME
SYNTAX
ARGUMENTS
DESCRIPTION
SEE ALSO
AUTHOR

NAME

glutSpaceballMotionFunc - sets the Spaceball motion callback for the current window.

SYNTAX

void glutSpaceballMotionFunc(void (*func)(int x, int y, int z));

ARGUMENTS

func

The new entry callback function.

DESCRIPTION

glutSpaceballMotionFunc sets the Spaceball motion callback for the current window. The Spaceball motion callback for a window is called when the window has Spaceball input focus (normally, when the mouse is in the window) and the user generates Spaceball translations. The x, y, and z callback parameters indicate the translations along the X, Y, and Z axes. The callback parameters are normalized to be within the range of -1000 to 1000 inclusive.

Registering a Spaceball motion callback when a Spaceball device is not available has no effect and is not an error. In this case, no Spaceball motion callbacks will be generated.

Passing NULL to glutSpaceballMotionFunc disables the generation of Spaceball motion callbacks. When a new window is created, no Spaceball motion callback is initially registered.

SEE ALSO

glutSpaceballRotateFunc, glutSpaceballButtonFunc, glutMotionFunc, glutTabletMotionFunc, glutJoystickFunc, glutDeviceGet

AUTHOR

Mark J. Kilgard (mjk@nvidia.com)



More Linux Commands

manpages/XKeysymToString.3.html
XKeysymToString(3) - convert keysyms - Linux manual page....
Standard KeySym names are obtained from <X11/keysymdef.h> by removing the XK_ prefix from each name. KeySyms that are not part of the Xlib standard also may be

manpages/XwcFreeStringList.3.html
XwcFreeStringList(3) - convert text lists and text property
The XmbTextListToTextProperty, XwcTextListToTextProperty and Xutf8TextListToTextProperty functions set the specified XTextProperty value to a set of null-separa

manpages/gnutls_pkcs11_privkey_export_url.3.html
gnutls_pkcs11_privkey_export_url(3) - API function (ManPage)
This function will export a URL identifying the given key. RETURNS On success, GNUTLS_E_SUCCESS (0) is returned, otherwise a negative error value. REPORTING BUG

manpages/XChangeKeyboardMapping.3.html
XChangeKeyboardMapping(3) - manipulate keyboard encoding and
The XChangeKeyboardMapping function defines the symbols for the specified number of KeyCodes starting with first_keycode. The symbols for KeyCodes outside this

manpages/gpgsm.1.html
gpgsm(1) - CMS encryption and signing tool - Linux man page
gpgsm is a tool similar to gpg to provide digital encryption and signing services on X.509 certificates and the CMS protocol. It is mainly used as a backend for

manpages/cvt_cyrusdb.8.html
cvt_cyrusdb(8) - convert a database file between cyrus datab
cvt_cyrusdb is used to convert a cyrusdb file between different database backends. Note that you should not attempt to use the same file for input and output. R

manpages/Digest::file.3pm.html
Digest::file(3pm) - Calculate digests of files (Man Page)...
This module provide 3 convenience functions to calculate the digest of files. The following functions are provided: digest_file( $file, $algorithm, [$arg,...] )

manpages/gnutls_certificate_set_openpgp_keyring_mem.3.html
gnutls_certificate_set_openpgp_keyring_mem.3................
gnutls_certificate_set_openpgp_keyring_mem.3 - The function is used to set keyrings that will be used internally by various OpenPGP functions. For example to fi

manpages/vsyslog.3.html
vsyslog(3) - send messages to the system logger (Man Page)
closelog() closes the descriptor being used to write to the system logger. The use of closelog() is optional. openlog() opens a connection to the system logger

manpages/gnutls_hash.3.html
gnutls_hash(3) - API function (Library - Linux man page)....
gnutls_hash.3 - This function will hash the given data using the algorithm specified by the context. RETURNS Zero or a negative error code on error. SINCE 2.10.

manpages/Tk_NameOfBitmap.3.html
Tk_NameOfBitmap(3) - maintain database of single-plane pixma
These procedures manage a collection of bitmaps (one-plane pixmaps) being used by an application. The procedures allow bitmaps to be re-used efficiently, thereb

manpages/apparmor_notify.8.html
apparmor_notify(8) display information about logged AppArmor
aa-notify will display a summary or provide desktop notifications for AppArmor DENIED messages. OPTIONS aa-notify accepts the following arguments: -p, --poll po





We can't live, work or learn in freedom unless the software we use is free.