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:
Jérôme Duval 2004-09-23 15:41:01 +00:00
parent 3bc52dc6ba
commit 4c2a769c68
4 changed files with 5 additions and 19 deletions

View File

@ -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>

View File

@ -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;

View File

@ -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

View File

@ -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 {