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