Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

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

Check Out this Related Man Page

glutTabletButtonFunc(3GLUT)					       GLUT					       glutTabletButtonFunc(3GLUT)

NAME
glutTabletButtonFunc - sets the special keyboard callback for the current window. SYNTAX
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)
Man Page

10 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. 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

3. 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

4. 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

5. 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

6. 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

7. 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

8. 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

9. UNIX for Beginners Questions & Answers

Create Industria OS for tablet

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

10. 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