- Input::Keyboard *keyboard;
- InputMethod *input_method;
- Input::Mouse *mouse;
- Input::Touchscreen *touchscreen;
- bool own_input;
- Label *lbl_tooltip;
- int pointer_x;
- int pointer_y;
+ Input::Keyboard *keyboard = nullptr;
+ std::unique_ptr<InputMethod> input_method;
+ Input::Mouse *mouse = nullptr;
+ Input::Touchscreen *touchscreen = nullptr;
+ std::unique_ptr<Input::Device> own_input[2];
+ Label *lbl_tooltip = nullptr;
+ int pointer_x = 0;
+ int pointer_y = 0;