mirror of
https://github.com/spice2x/spice2x.github.io.git
synced 2026-08-01 22:30:42 -07:00
07a0df5fdc
## Link to GitHub Issue, if one exists None ## Description of change - Added bi2x_hook - Added J32D (drum) and J33I (guitar) emulations - AMI2000 card reader (this game uses this instead of ICCA) ## Testing Played through a 15-minute session on Drummania. Guitar mode works with keyboard input.
25 lines
734 B
C++
25 lines
734 B
C++
#pragma once
|
|
#include "acioemu/device.h"
|
|
#include "device.h"
|
|
|
|
namespace games::gitadora {
|
|
|
|
class J32DSerialDevice : public GitadoraDevice {
|
|
private:
|
|
uint8_t coin_counter = 0;
|
|
public:
|
|
J32DSerialDevice();
|
|
bool parse_msg(acioemu::MessageData *msg_in, circular_buffer<uint8_t> *response_buffer) override;
|
|
struct J32D_IO_STATUS {
|
|
uint16_t high_tom;
|
|
uint16_t low_tom;
|
|
uint16_t snare;
|
|
uint16_t floor_tom;
|
|
uint16_t left_cymbal;
|
|
uint16_t right_cymbal;
|
|
uint16_t hihat;
|
|
uint16_t unk7;
|
|
uint8_t pedals;
|
|
};
|
|
};
|
|
} |