Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

gluttabletbuttonfunc(3glut) [mojave 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)

Check Out this Related Man Page

glutTabletMotionFunc(3GLUT)					       GLUT					       glutTabletMotionFunc(3GLUT)

NAME
glutTabletMotionFunc - sets the special keyboard callback for the current window. SYNTAX
#include <GLUT/glut.h> void glutTabletMotionFunc(void (*func)(int x, int y)); ARGUMENTS
func The new entry callback function. DESCRIPTION
glutTabletMotionFunc sets the tablet motion callback for the current window. The tablet motion 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 motion. The x and y callback param- eters indicate the absolute position of the tablet ``puck'' on the tablet. The callback parameters are normalized to be within the range of 0 to 2000 inclusive. Registering a tablet motion callback when a tablet device is not available is ineffectual and not an error. In this case, no tablet motion callbacks will be generated. Passing NULL to glutTabletMotionFunc disables the generation of tablet motion callbacks. When a new window is created, no tablet motion callback is initially registered. SEE ALSO
glutTabletButtonFunc, glutDeviceGet, glutMotionFunc, glutSpaceballMotionFunc AUTHOR
Mark J. Kilgard (mjk@nvidia.com) GLUT
3.7 glutTabletMotionFunc(3GLUT)
Man Page

15 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Serial Ports, wacom tablet under unix

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

No "sign in" button

I am just curious, why isn't there a "sign in" button on the main page? (1 Reply)
Discussion started by: milhan
1 Replies

3. UNIX for Dummies Questions & Answers

File System

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)
Discussion started by: howeezy
1 Replies

4. UNIX for Dummies Questions & Answers

telnet is not a registered protocol

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)
Discussion started by: lyonsd
1 Replies

5. UNIX for Dummies Questions & Answers

Script for using the Back button and the Close button

Here's a question I have for anyone that might be able to help me: I can write a html script that will allow the user to return to the previous page using the back button, and I can write a script that will allow the user to return to the previous page using the close button, but...is there a... (1 Reply)
Discussion started by: mdgibson
1 Replies

6. Linux

By angle-brackets/"pipe" button doesn't work?

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)
Discussion started by: riwa
1 Replies

7. UNIX and Linux Applications

graphical user acessible program

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)
Discussion started by: srilakshmi
2 Replies

8. UNIX for Dummies Questions & Answers

to know about press button command

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)
Discussion started by: doctor001
1 Replies

9. Android

Will You Move to an Android Phone or Tablet?

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)
Discussion started by: Neo
14 Replies

10. What is on Your Mind?

HTC Thunderbolt

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)
Discussion started by: Perderabo
18 Replies

11. What is on Your Mind?

Which Tablet to Choose?

Currently in the process of looking for a tablet. Which one is best? Thanks Benjamin Mauerberger (9 Replies)
Discussion started by: hlinks12
9 Replies

12. Emergency UNIX and Linux Support

calculate internal fragmentation in directory

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)
Discussion started by: me.
6 Replies

13. IP Networking

How do I change my IP via terminal?

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)
Discussion started by: Ihatewindows
7 Replies

14. Linux

Motherboards

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)
Discussion started by: fedora18
2 Replies

15. UNIX for Beginners Questions & Answers

Tablet with Debian Linux ?

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)
Discussion started by: Sennenmut
3 Replies