16
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-07-21 13:39:18 +02:00

build 180804. configurable command bindings for scroll wheel, minor bug fixes

This commit is contained in:
tmj-fstate
2018-08-04 12:34:51 +02:00
parent ec1a625c12
commit cf7b9652e0
14 changed files with 180 additions and 49 deletions

View File

@@ -47,13 +47,15 @@ public:
on_mouse_button( int const Button, int const Action, int const Mods ) override;
void
on_scroll( double const Xoffset, double const Yoffset ) override;
void
on_event_poll() override;
private:
// types
struct drivermode_input {
gamepad_input gamepad;
mouse_input mouse;
drivermouse_input mouse;
glm::dvec2 mouse_pickmodepos; // stores last mouse position in control picking mode
driverkeyboard_input keyboard;
Console console;