-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #591 from novelrt/feature/input-key-changelog
Revamp Input to reintroduce KeyStateFrameChangeLog
- Loading branch information
Showing
32 changed files
with
621 additions
and
364 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -89,6 +89,7 @@ jobs: | |
runs-on: ubuntu-latest | ||
permissions: | ||
checks: write | ||
pull-requests: write | ||
if: always() | ||
|
||
steps: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
23 changes: 0 additions & 23 deletions
23
include/NovelRT/Exceptions/OpenGLLinkageFailureException.h
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
add_library(NovelRT-Input STATIC | ||
KeyStateFrameChangeLog.cpp | ||
NovelKey.cpp | ||
Glfw/GlfwInputDevice.cpp | ||
Glfw/GlfwInputPluginProvider.cpp | ||
) | ||
|
||
target_sources(NovelRT-Input | ||
PUBLIC | ||
FILE_SET public_headers | ||
TYPE HEADERS | ||
BASE_DIRS include | ||
FILES | ||
include/NovelRT/Input/IInputDevice.hpp | ||
include/NovelRT/Input/InputAction.hpp | ||
include/NovelRT/Input/KeyState.hpp | ||
include/NovelRT/Input/KeyStateFrameChangeLog.hpp | ||
include/NovelRT/Input/NovelKey.hpp | ||
include/NovelRT/Input/Glfw/GlfwInputDevice.hpp | ||
include/NovelRT/Input/Glfw/GlfwInputPluginProvider.hpp | ||
) | ||
|
||
set_target_properties(NovelRT-Input | ||
PROPERTIES | ||
EXPORT_NAME Input | ||
POSITION_INDEPENDENT_CODE ON | ||
) | ||
|
||
target_compile_features(NovelRT-Input | ||
PUBLIC | ||
cxx_std_17 | ||
) | ||
|
||
target_compile_options(NovelRT-Input | ||
PRIVATE | ||
$<$<CXX_COMPILER_ID:GNU>:-Wall> | ||
$<$<CXX_COMPILER_ID:GNU>:-Wabi> | ||
$<$<CXX_COMPILER_ID:GNU>:-Werror> | ||
$<$<CXX_COMPILER_ID:GNU>:-Wextra> | ||
$<$<CXX_COMPILER_ID:GNU>:-Wpedantic> | ||
$<$<CXX_COMPILER_ID:GNU>:-pedantic-errors> | ||
|
||
$<$<CXX_COMPILER_ID:Clang>:-Wall> | ||
$<$<CXX_COMPILER_ID:Clang>:-Werror> | ||
$<$<CXX_COMPILER_ID:Clang>:-Wextra> | ||
$<$<CXX_COMPILER_ID:Clang>:-Wpedantic> | ||
$<$<CXX_COMPILER_ID:Clang>:-pedantic-errors> | ||
|
||
$<$<CXX_COMPILER_ID:MSVC>:/W4> | ||
$<$<CXX_COMPILER_ID:MSVC>:/WX> | ||
$<$<CXX_COMPILER_ID:MSVC>:/permissive-> | ||
) | ||
|
||
target_include_directories(NovelRT-Input PRIVATE "$<TARGET_PROPERTY:Engine,INCLUDE_DIRECTORIES>") | ||
target_link_libraries(NovelRT-Input | ||
PUBLIC | ||
spdlog | ||
glfw | ||
tbb | ||
) | ||
|
||
install( | ||
TARGETS NovelRT-Input | ||
EXPORT NovelRTConfig | ||
LIBRARY DESTINATION lib | ||
FILE_SET public_headers DESTINATION include | ||
) |
Oops, something went wrong.