Now uses a global header
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9046 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
3bc52dc6ba
commit
4c2a769c68
|
@ -25,7 +25,7 @@
|
|||
// DEALINGS IN THE SOFTWARE.
|
||||
/*****************************************************************************/
|
||||
#include "KeyboardInputDevice.h"
|
||||
|
||||
#include "kb_mouse_driver.h"
|
||||
#include <Directory.h>
|
||||
#include <Entry.h>
|
||||
#include <NodeMonitor.h>
|
||||
|
|
|
@ -31,7 +31,7 @@
|
|||
#include <InputServerDevice.h>
|
||||
#include <List.h>
|
||||
#include <stdio.h>
|
||||
#include "kb_mouse_driver.h"
|
||||
#include "kb_mouse_settings.h"
|
||||
|
||||
class KeyboardInputDevice;
|
||||
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
SubDir OBOS_TOP src add-ons input_server devices mouse ;
|
||||
|
||||
UsePrivateHeaders input ;
|
||||
|
||||
Addon <input>mouse : input_server/devices :
|
||||
MouseInputDevice.cpp
|
||||
: false
|
||||
|
|
|
@ -31,23 +31,7 @@
|
|||
#include <InterfaceDefs.h>
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
// TODO : these structs are needed in : input_server, mouse driver, mouse addon, mouse prefs
|
||||
// => factorisation has to be done in a global header, possibly private
|
||||
|
||||
typedef struct {
|
||||
bool enabled; // Acceleration on / off
|
||||
int32 accel_factor; // accel factor: 256 = step by 1, 128 = step by 1/2
|
||||
int32 speed; // speed accelerator (1=1X, 2 = 2x)...
|
||||
} mouse_accel;
|
||||
|
||||
typedef struct {
|
||||
int32 type;
|
||||
mouse_map map;
|
||||
mouse_accel accel;
|
||||
bigtime_t click_speed;
|
||||
} mouse_settings;
|
||||
|
||||
#include "kb_mouse_settings.h"
|
||||
|
||||
class BList;
|
||||
class MouseInputDevice : public BInputServerDevice {
|
||||
|
|
Loading…
Reference in New Issue