* include/zmouse.h (WHEEL_DELTA): Guard against prior definition. (WHEEL_PAGESCROLL): Likewise. (SPI_SETWHEELSCROLLLINES): Define, if not already done.
		
			
				
	
	
		
			37 lines
		
	
	
		
			755 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			37 lines
		
	
	
		
			755 B
		
	
	
	
		
			C
		
	
	
	
	
	
/*
 | 
						|
       zmouse.h - Header for IntelliMouse.
 | 
						|
 | 
						|
       This file is part of a free library for the Win32 API.
 | 
						|
 | 
						|
       This library is distributed in the hope that it will be useful,
 | 
						|
       but WITHOUT ANY WARRANTY; without even the implied warranty of
 | 
						|
       MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
 | 
						|
 | 
						|
       FIXME: This file is obviously horribly incomplete!
 | 
						|
 | 
						|
*/
 | 
						|
 | 
						|
#ifndef _ZMOUSE_H
 | 
						|
#define _ZMOUSE_H
 | 
						|
#if __GNUC__ >=3
 | 
						|
#pragma GCC system_header
 | 
						|
#endif
 | 
						|
 | 
						|
#ifndef WM_MOUSEWHEEL
 | 
						|
# define WM_MOUSEWHEEL (WM_MOUSELAST + 1)
 | 
						|
#endif
 | 
						|
 | 
						|
#ifndef WHEEL_DELTA
 | 
						|
# define WHEEL_DELTA 120
 | 
						|
#endif
 | 
						|
 | 
						|
#ifndef WHEEL_PAGESCROLL
 | 
						|
# define WHEEL_PAGESCROLL UINT_MAX
 | 
						|
#endif
 | 
						|
 | 
						|
#ifndef SPI_SETWHEELSCROLLLINES
 | 
						|
# define SPI_SETWHEELSCROLLLINES 105
 | 
						|
#endif
 | 
						|
 | 
						|
#endif /* _ZMOUSE_H */
 |