24fa1e140e
source/Platform/Win32/Win32Keyboard.cpp: define LAlt and RAlt keys.
2020-02-02 00:42:00 +01:00
3364b921de
include/Spectre/Input/Keyboard.h: remove NumpadEnter (this is usually the same as regular enter).
2020-02-02 00:38:38 +01:00
7c6cf45d3c
include/Spectre/Input/Keyboard.h: Fix CamelCase for some enum values.
2020-02-02 00:34:13 +01:00
2e9701a15b
Platform/Win32/Win32Keyboard: implement isKeyDown() using GetAsyncKeyState() and remove m_bufState and m_focus.
2020-02-01 15:50:08 +01:00
390be8f740
Platform/Win32/Win32Keyboard: skip Win32MsgBuffer and handle event directly in handleMessage()
2020-02-01 15:50:06 +01:00
24c3f14c8c
include/Spectre/Input/InputEvent.h: Move Key::Type to Keyboard class
2020-02-01 15:49:53 +01:00
4df668e68f
Minor formating fixes.
2019-12-29 22:26:05 +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