popn: implement bi2x hook (#623)

## Link to GitHub Issue or related Pull Request, if one exists
#618 

## Description of change
Implement BI2X hook I/O for service/test/coin/headphones and the deka
pop-kuns.
This commit is contained in:
bicarus
2026-04-10 17:46:12 -07:00
committed by GitHub
parent b281517429
commit 8afff3aaca
7 changed files with 580 additions and 3 deletions
+4
View File
@@ -1,5 +1,6 @@
#include "avs/game.h"
#include "popn.h"
#include "bi2x_hook.h"
#include <cstdint>
#include <cstring>
#include "rawinput/rawinput.h"
@@ -410,6 +411,9 @@ namespace games::popn {
memcpy(settings.property_hardwareid, property_hardwareid, sizeof(property_hardwareid));
setupapihook_init(avs::game::DLL_INSTANCE);
setupapihook_add(settings);
// test/service/coin buttons, lights
bi2x_hook_init();
}