xref: /haiku/src/preferences/input/InputWindow.h (revision 909af08f4328301fbdef1ffb41f566c3b5bec0c7)
1 /*
2  * Copyright 2019, Haiku, Inc.
3  * Distributed under the terms of the MIT License.
4  *
5  * Author:
6  *		Preetpal Kaur <preetpalok123@gmail.com>
7  */
8 
9 
10 #ifndef INPUT_WINDOW_H
11 #define INPUT_WINDOW_H
12 
13 
14 #include <CardView.h>
15 #include <Input.h>
16 #include <ListView.h>
17 #include <Message.h>
18 #include <Window.h>
19 
20 #include "MouseSettings.h"
21 
22 
23 class InputWindow : public BWindow
24 {
25 public:
26 							InputWindow(BRect rect);
27 		void				MessageReceived(BMessage* message);
28 		void				Show();
29 		void				Hide();
30 
31 private:
32 		status_t			FindDevice();
33 		void				AddDevice(BInputDevice* device);
34 
35 private:
36 		BListView*			fDeviceListView;
37 		BCardView*			fCardView;
38 
39 		MultipleMouseSettings 	fMultipleMouseSettings;
40 };
41 
42 #endif /* INPUT_WINDOW_H */
43