Fix broken leftmost key and air 6

dev v0.1.2
4yn 2021-12-09 22:14:24 +08:00
parent 4f28d4ce45
commit 88699549e2
3 changed files with 5 additions and 2 deletions

View File

@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.15)
set(CMAKE_SYSTEM_VERSION "10.0.19041")
project(brokenithm-kb VERSION 0.1.1)
project(brokenithm-kb VERSION 0.1.2)
message("Using kit " "${CMAKE_VS_WINDOWS_TARGET_PLATFORM_VERSION}")

View File

@ -176,7 +176,7 @@ void BrokenithmServer::Impl::start_server()
for (int i = 0; i < 38; i++)
{
if (message[i] == '1')
if (message[i+1] == '1')
{
m_controller_state.add_button(i);
}

View File

@ -19,6 +19,9 @@ Read more at https://github.com/4yn/brokenithm-kb
CHANGELOG
=========
v0.1.2
- Fixed broken leftmost key and air 6
v0.1.1
- Removed openssl/zlib bloat