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_KEYBOARD_H 11 #define INPUT_KEYBOARD_H 12 13 #include <Button.h> 14 #include <Input.h> 15 16 #include "KeyboardSettings.h" 17 #include "KeyboardView.h" 18 19 20 class InputKeyboard : public BView 21 { 22 public: 23 InputKeyboard(BInputDevice* dev); 24 25 void MessageReceived(BMessage* message); 26 private: 27 KeyboardView *fSettingsView; 28 KeyboardSettings fSettings; 29 BButton* fDefaultsButton; 30 BButton* fRevertButton; 31 }; 32 33 #endif 34