2 * Copyright 2008-2009, Haiku, Inc.
3 * Distributed under the terms of the MIT License.
6 * Clemens Zeidler (haiku@Clemens-Zeidler.de)
8 #ifndef TOUCHPAD_PREF_H
9 #define TOUCHPAD_PREF_H
14 #include "touchpad_settings.h"
19 # define LOG(text...) PRINT((text))
33 BPoint
WindowPosition()
34 { return fWindowPosition
; }
35 void SetWindowPosition(BPoint position
)
36 { fWindowPosition
= position
; }
38 touchpad_settings
& Settings()
41 status_t
UpdateSettings();
44 status_t
GetSettingsPath(BPath
& path
);
45 status_t
LoadSettings();
46 status_t
SaveSettings();
48 status_t
ConnectToTouchPad();
51 BInputDevice
* fTouchPad
;
53 touchpad_settings fSettings
;
54 touchpad_settings fStartSettings
;
55 BPoint fWindowPosition
;
59 #endif // TOUCHPAD_PREF_H