port: EterLib/Input over host key events (DirectInput polling adapted)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
shenlei
2026-09-30 13:21:25 +09:00
co-authored by Claude Opus 5.5
parent 5d64311a4d
commit 32c5a09d6e
5 changed files with 206 additions and 42 deletions
+3
View File
@@ -205,6 +205,9 @@ if(BUILD_TESTING AND CMAKE_SYSTEM_NAME STREQUAL CMAKE_HOST_SYSTEM_NAME)
add_executable(port_ms_window_test ${PROJECT_SOURCE_DIR}/tests/port/port_ms_window_test.cpp)
target_link_libraries(port_ms_window_test PRIVATE port_platform)
add_test(NAME port.ms_window COMMAND $<TARGET_FILE:port_ms_window_test>)
add_executable(port_input_test ${PROJECT_SOURCE_DIR}/tests/port/port_input_test.cpp)
target_link_libraries(port_input_test PRIVATE port_platform)
add_test(NAME port.input COMMAND $<TARGET_FILE:port_input_test>)
# MilesLib: the 40250 sound managers over the Miles emulation (platform/MilesLib/MilesAil.cpp).
add_executable(port_miles_test ${PROJECT_SOURCE_DIR}/tests/port/port_miles_test.cpp)