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 <Box.h> 15 #include <CardView.h> 16 #include <Input.h> 17 #include <ListItem.h> 18 #include <ListView.h> 19 #include <Message.h> 20 #include <ScrollBar.h> 21 #include <ScrollView.h> 22 #include <SeparatorView.h> 23 #include <View.h> 24 #include <Window.h> 25 26 #include "InputDeviceView.h" 27 #include "InputKeyboard.h" 28 #include "InputMouse.h" 29 #include "InputTouchpadPrefView.h" 30 #include "MouseSettings.h" 31 #include "touchpad_settings.h" 32 33 34 class BSplitView; 35 class BCardView; 36 class BCardLayout; 37 38 class SettingsView; 39 class DeviceName; 40 class InputDevices; 41 class InputKeyboard; 42 class InputMouse; 43 class TouchpadPrefView; 44 class TouchpadPref; 45 class TouchpadView; 46 47 48 class InputWindow : public BWindow 49 { 50 public: 51 InputWindow(BRect rect); 52 void MessageReceived(BMessage* message); 53 status_t FindDevice(); 54 private: 55 56 DeviceListView* fDeviceListView; 57 BCardView* fCardView; 58 MouseSettings fSettings; 59 SettingsView* fSettingsView; 60 BInputDevice* fKeyboard; 61 BInputDevice* fMouse; 62 BInputDevice* fTouchPad; 63 }; 64 65 #endif /* INPUT_WINDOW_H */ 66