Libpointing
An open-source cross-platform library to get raw events from pointing devices and master transfer functions.
osxSystemPointerAcceleration.h
1 /* -*- mode: c++ -*-
2  *
3  * pointing/transferfunctions/osx/osxSystemPointerAcceleration.h --
4  *
5  * Initial software
6  * Authors: Nicolas Roussel
7  * Copyright © Inria
8  *
9  * http://libpointing.org/
10  *
11  * This software may be used and distributed according to the terms of
12  * the GNU General Public License version 2 or any later version.
13  *
14  */
15 
16 #ifndef osxSystemPointerAcceleration_h
17 #define osxSystemPointerAcceleration_h
18 
19 #include <IOKit/IOKitLib.h>
20 
21 namespace pointing {
22 
28 
29  private:
30 
31  io_object_t connect ;
32 
33  public:
34 
36 
43  double get(const char *target=0) const ;
44  void set(double acceleration, const char *target=0) ;
45 
47 
48  } ;
49 
50 }
51 
52 #endif
The osxSystemPointerAcceleration class is used to set or read the cursor parameters of the current sy...
Definition: osxSystemPointerAcceleration.h:27
Definition: DummyPointingDevice.cpp:23