plan 9 kernel history: overview | file list | diff list

2001/0822/bitsy/devpenmouse.c (diff list | history)

2001/0529/sys/src/9/bitsy/devpenmouse.c:92,982001/0822/sys/src/9/bitsy/devpenmouse.c:92,101 (short | long | prev | next)
2000/1021    
 
void 
penbutton(int up, int b) { 
2000/1207    
	if (b & 0x20) { 
2001/0822    
	// button 5 (side button) immediately causes an event 
	// when the pen is down (button 1), other buttons also 
	// cause events, allowing chording with button 1 
	if ((b & 0x20) || (mouse.buttons & 0x1)) { 
2000/1207    
		if (up) 
			mouse.buttons &= ~b; 
		else 


source code copyright © 1990-2005 Lucent Technologies; see license
Plan 9 distribution
comments to russ cox (rsc@swtch.com)