1
0
Fork 0
Commit graph

6 commits

Author SHA1 Message Date
fa0fc72eb0
Platform/Win32/Win32Mouse: add getAbsPosition() and update the position variables in update() 2020-02-01 22:31:44 +01:00
290c6643f5
Platform/Win32/Win32Mouse: implement isButtonDown() using GetAsyncKeyState() and remove m_state and m_tracked. 2020-02-01 22:28:37 +01:00
3c209ba01b
Platform/Win32/Win32Mouse: skip Win32MsgBuffer and handle event directly in handleMessage() 2020-02-01 15:50:09 +01:00
762d26f368
include/Spectre/Input/InputEvent.h: Move MouseButton::Type to Mouse class. 2020-02-01 15:49:52 +01:00
e10daeaaa6
Move everything from global namespace to "sp" namespace
When writing the X11 (linux) implementation there was a problem with X11 defining a "Display" type and we also have a Display class in the engine.

So to fix that problem and minimize the risk for running into other name conflicts. We move everything from global namespace.
2019-09-30 19:10:17 +02:00
edfc5298e1 Initial commit 2016-01-10 09:26:43 +01:00