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

build 191212. bogie sound tweak, minor bug fixes

This commit is contained in:
tmj-fstate
2019-12-12 23:14:25 +01:00
parent 8028fa2ac0
commit a54924c48d
6 changed files with 73 additions and 22 deletions

View File

@@ -283,6 +283,12 @@ eu07_application::get_cursor_pos( double &Horizontal, double &Vertical ) const {
glfwGetCursorPos( m_windows.front(), &Horizontal, &Vertical );
}
int
eu07_application::get_mouse_button( int const Button ) const {
return glfwGetMouseButton( m_windows.front(), Button );
}
void
eu07_application::on_key( int const Key, int const Scancode, int const Action, int const Mods ) {