| 1 | 
 /* | 
 
 
 
 
 
 | 2 | 
        zmouse.h - Header for IntelliMouse. | 
 
 
 
 
 
 | 3 | 
  | 
 
 
 
 
 
 | 4 | 
        This file is part of a free library for the Win32 API. | 
 
 
 
 
 
 | 5 | 
  | 
 
 
 
 
 
 | 6 | 
        This library is distributed in the hope that it will be useful, | 
 
 
 
 
 
 | 7 | 
        but WITHOUT ANY WARRANTY; without even the implied warranty of | 
 
 
 
 
 
 | 8 | 
        MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | 
 
 
 
 
 
 | 9 | 
  | 
 
 
 
 
 
 | 10 | 
        FIXME: This file is obviously horribly incomplete! | 
 
 
 
 
 
 | 11 | 
  | 
 
 
 
 
 
 | 12 | 
 */ | 
 
 
 
 
 
 | 13 | 
  | 
 
 
 
 
 
 | 14 | 
 #ifndef _ZMOUSE_H | 
 
 
 
 
 
 | 15 | 
 #define _ZMOUSE_H | 
 
 
 
 
 
 | 16 | 
 #if __GNUC__ >=3 | 
 
 
 
 
 
 | 17 | 
 #pragma GCC system_header | 
 
 
 
 
 
 | 18 | 
 #endif | 
 
 
 
 
 
 | 19 | 
  | 
 
 
 
 
 
 | 20 | 
 #ifndef WM_MOUSEWHEEL | 
 
 
 
 
 
 | 21 | 
 # define WM_MOUSEWHEEL (WM_MOUSELAST + 1) | 
 
 
 
 
 
 | 22 | 
 #endif | 
 
 
 
 
 
 | 23 | 
  | 
 
 
 
 
 
 | 24 | 
 #ifndef WHEEL_DELTA | 
 
 
 
 
 
 | 25 | 
 # define WHEEL_DELTA 120 | 
 
 
 
 
 
 | 26 | 
 #endif | 
 
 
 
 
 
 | 27 | 
  | 
 
 
 
 
 
 | 28 | 
 #ifndef WHEEL_PAGESCROLL | 
 
 
 
 
 
 | 29 | 
 # define WHEEL_PAGESCROLL UINT_MAX | 
 
 
 
 
 
 | 30 | 
 #endif | 
 
 
 
 
 
 | 31 | 
  | 
 
 
 
 
 
 | 32 | 
 #ifndef SPI_SETWHEELSCROLLLINES | 
 
 
 
 
 
 | 33 | 
 # define SPI_SETWHEELSCROLLLINES 105 | 
 
 
 
 
 
 | 34 | 
 #endif | 
 
 
 
 
 
 | 35 | 
  | 
 
 
 
 
 
 | 36 | 
 #endif /* _ZMOUSE_H */ |