mirror of
https://github.com/spice2x/spice2x.github.io.git
synced 2026-08-02 23:00:42 -07:00
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:
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user