10-04-2001
Re: Yet Another Question
Quote:
Originally posted by mbolthouse
if(movement == 8)
I'm a c programmer, not a c++ programmer, but I gotta say I
think that if statement needs some help. You're checking to see if movement is a decimal 8 and that's not what the 8 key transmits. In c
if(movement == '8')
would be correct. Give that a try.
7 More Discussions You Might Find Interesting
1. Programming
what is WDFP and WE STATION? (1 Reply)
Discussion started by: billybayou
1 Replies
2. Solaris
Im trying to edit a 113 meg file in VI and i get the error TMP FILE TOO LARGE.
Does someone know how to get around this?
Thanks! (1 Reply)
Discussion started by: BG_JrAdmin
1 Replies
3. UNIX for Dummies Questions & Answers
Hello
if I like to move file from defined directories system to new directory that not contained any directories system structure .
But I like to create the same file system structure as source directory for example :
I have 2 directories: foo1 and foo2
foo1 have directories and foo2 have... (2 Replies)
Discussion started by: umen
2 Replies
4. UNIX for Dummies Questions & Answers
hallo, ik heb hier een vraagje. hoeveel gebruikers kunnen er op 1 unix systeem. hopelijk antwoorden golle nu want ik moet da vinde voor school en die leerkracht zaagt. :p
groetjes eu wacht wa was mijne nick ah ja vraagje
groetjes vraagje
ik kan geen engels dus antwoord liever in het... (1 Reply)
Discussion started by: vraagje
1 Replies
5. Shell Programming and Scripting
Hey my friend was asking me if i knew a way to cout how many different words in a file. I told him no not off hand, but i was thinking about it, and i started to wonder also. I imagine this is probably pretty simple im just missing something, I keep confusing my self with how you would compair and... (16 Replies)
Discussion started by: yodadbl07
16 Replies
6. Hardware
How to add 3 moniters to a pc set up? (2 Replies)
Discussion started by: clicstic
2 Replies
7. AIX
Hi,
Can anyone please explain a little about df command. I have following question:
Following example is showing % used as 4 where as total free blocks are 15.46 out of 16.00 MB blocks.
df -m /test
Filesystem MBblocks Free %Used Iused %Iused ... (5 Replies)
Discussion started by: itsabhi9
5 Replies
LEARN ABOUT CENTOS
xibarrierreleasepointers
XIBARRIERRELEASEPOIN(3) XIBARRIERRELEASEPOIN(3)
NAME
XIBarrierReleasePointer, XIBarrierReleasePointers - allow pointer movement across a pointer barrier
SYNOPSIS
#include <X11/extensions/XInput2.h>
int XIBarrierReleasePointer( Display *display,
int deviceid,
PointerBarrier barrier,
BarrierEventID eventid);
int XIBarrierReleasePointers( Display *display,
XIBarrierReleasePointerInfo *barriers,
int num_barriers);
display
Specifies the connection to the X server.
deviceid
Specifies the device allowed to move across the barrier.
barrier
Specifies the barrier.
eventid
Specifies the unique event ID for this barrier event sequence.
barriers
List of deviceid, barrier, eventid triplets.
num_barriers
Number of elements in barriers.
DESCRIPTION
If a pointer is constrained by a pointer barrier, release the pointer
from the barrier and allow it to cross the barrier with the next motion.
If the pointer moves away from the barrier, this request does nothing.
This request only releases the pointer for the given barrier event
sequence. If the pointer moves away from or through the barrier, a
XI_BarrierLeave event is generated. Future pointer movement constrained
by this barrier will assign a new eventid and require a new
XIBarrierReleasePointer request.
If the pointer is not currently blocked by the barrier or the barrier
event sequence has ended, this request does nothing.
XIBarrierReleasePointer and XIBarrierReleasePointers can generate a
BadDevice or BadValue error.
DIAGNOSTICS
BadDevice
An invalid device was specified. The device does not
exist or is not a master pointer device.
BadValue
A value for a PointerBarrier argument does not name a defined
pointer barrier.
SEE ALSO
XFixesCreatePointerBarrier(3)
05/30/2013 XIBARRIERRELEASEPOIN(3)