glutTabletButtonFunc(3GLUT) GLUT glutTabletButtonFunc(3GLUT)NAME
glutTabletButtonFunc - sets the special keyboard callback for the current window.
SYNTAX
#include <GLUT/glut.h>
void glutTabletButtonFunc(void (*func)(int button, int state,
int x, int y));
ARGUMENTS
func The new tablet button callback function.
DESCRIPTION
glutTabletButtonFunc sets the tablet button callback for the current window. The tablet button callback for a window is called when the
window has tablet input focus (normally, when the mouse is in the window) and the user generates tablet button presses. The button parame-
ter will be the button number (starting at one). The number of available tablet buttons can be determined with glutDe-
viceGet(GLUT_NUM_TABLET_BUTTONS). The state is either GLUT_UP or GLUT_DOWN indicating whether the callback was due to a release or press
respectively. The x and y callback parameters indicate the window relative coordinates when the tablet button state changed.
Registering a tablet button callback when a tablet device is not available is ineffectual and not an error. In this case, no tablet button
callbacks will be generated.
Passing NULL to glutTabletButtonFunc disables the generation of tablet button callbacks. When a new window is created, no tablet button
callback is initially registered.
SEE ALSO
glutTabletMotionFunc, glutDeviceGet, glutMotionFunc, glutSpaceballMotionFunc
AUTHOR
Mark J. Kilgard (mjk@nvidia.com)
GLUT 3.7 glutTabletButtonFunc(3GLUT)
Check Out this Related Man Page
glutTabletButtonFunc(3GLUT) GLUT glutTabletButtonFunc(3GLUT)NAME
glutTabletButtonFunc - sets the special keyboard callback for the current window.
SYNTAX
#include <GLUT/glut.h>
void glutTabletButtonFunc(void (*func)(int button, int state,
int x, int y));
ARGUMENTS
func The new tablet button callback function.
DESCRIPTION
glutTabletButtonFunc sets the tablet button callback for the current window. The tablet button callback for a window is called when the
window has tablet input focus (normally, when the mouse is in the window) and the user generates tablet button presses. The button parame-
ter will be the button number (starting at one). The number of available tablet buttons can be determined with glutDe-
viceGet(GLUT_NUM_TABLET_BUTTONS). The state is either GLUT_UP or GLUT_DOWN indicating whether the callback was due to a release or press
respectively. The x and y callback parameters indicate the window relative coordinates when the tablet button state changed.
Registering a tablet button callback when a tablet device is not available is ineffectual and not an error. In this case, no tablet button
callbacks will be generated.
Passing NULL to glutTabletButtonFunc disables the generation of tablet button callbacks. When a new window is created, no tablet button
callback is initially registered.
SEE ALSO
glutTabletMotionFunc, glutDeviceGet, glutMotionFunc, glutSpaceballMotionFunc
AUTHOR
Mark J. Kilgard (mjk@nvidia.com)
GLUT 3.7 glutTabletButtonFunc(3GLUT)
Hi,
I'm new to the boards and don't know all that much about unix either.
I do have quite a specific question though and i hope someone can help me with it...
i'm going crazy...i've been trying to set up a wacom tablet on my unix box. i've don't it before but it was taken away and the os... (3 Replies)
Discussion started by: Salwey
3 Replies
2. Post Here to Contact Site Administrators and Moderators
Never operated UNIX. I just turned 18 and im starting compsci in the fall. My teacher said i should put solaris 10 on my new tablet pc. I'm using partition magic 8... will someone please tell me what file system to make the partition? Primary or logical? THANK YOU! Please reply soon. :( (1 Reply)
I'm using firefox and I access a site which established a VPN connection to another site. There is a button which is supposed to log me into another system. When I click the button, I get an error window popup saying:
telnet is not a registered protocol
I do I register telnet as a protocol?... (1 Reply)
How can I configure it?
I have a swedish keyboard with swedish keyboard setting. Everything works perfectly (едц) except that button. What can be wrong?
/Richard
++
NOTE: It seems like the computer notices the input but that the button isn't assigned to anything (the keyboard-cursor stops).... (1 Reply)
hi evaryone
i am new to linux and i need help from u people ,i have to create a user accesible window in which i have to provide a button on submitting the button it has to run my c program,can anyone help me out how to do this .
thanks (2 Replies)
Please help me with this ...........
Suppose i have made a database of 25 people and want to make the user select any number of people till he wishes and then press a button to stop the process (of selecting)
what coding should be followed by me ...........:confused::confused: (1 Reply)
Let's find out about users of Android. I'm becoming a big Android follower. You?
After a lot of research, I am thinking to by the Samsung Galaxy S as soon as it updates to Android 2.2.
I'm also closely following the release of the Samsung Galaxy Tab! (14 Replies)
Does anyone have a Thunderbolt? Or even an opinion on them? I need a new cell phone for work. My manager says I can get a Thunderbolt, but I must decide by Monday morning. The other options are iPhone and some Droid model. (18 Replies)
hi
sorry for grammar mistakes but i am writting these fro tablet and am not realy used to ot so well yet....
i am in the middle of doing work here and hope some1 ca answear my question asap please :-)
How to calculate the amount of internal fragmentation using script.
cd directory ...... (6 Replies)
Hi, guys, I was using an online utility to check wheather or not an email existed, and they gave me three tries. I thought clearing temp and cookies would work, but it looks like they grabbed a hold of my IP. :mad: Now, I'd like to make a shell script that changes my IP. Not bad...yet. I'm using... (7 Replies)
Hey all,
So, I want to build a tablet that will run a standard 32-bit version of Linux.
The reason for this is I need to run my application on a very bright screen to use outdoors. I don't want to spend the time porting all of the code to use on an ARM tablet. The application works flawlessly... (2 Replies)
Hi people!
I have a homemade RepRap, and I would like to create an own OS as the attached videos.
Have you got any ideas how to start?
Minute 6:20
https://www.youtube.com/watch?v=D-tg1uZ57lM
https://www.youtube.com/watch?v=0U-zlnczHow
https://www.youtube.com/watch?v=4jirlfLTnsQ
... (1 Reply)
Hi ,
i want to buy a tablet with LINUX DEBIAN.
Sparky is possible too.
Have heared about Ubuntu Touch and a tablet with a real keyboard to switch from touch to normal keyboard.
Does anyone know something ?
WBR
SM (3 Replies)