mirror of
https://github.com/spice2x/spice2x.github.io.git
synced 2026-08-02 06:40:42 -07:00
gitadora: Added support for GITADORA Delta (#476)
## 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.
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
#pragma once
|
||||
|
||||
#include "acioemu/device.h"
|
||||
#include "device.h"
|
||||
|
||||
namespace games::gitadora {
|
||||
|
||||
class J33ISerialDevice : public GitadoraDevice {
|
||||
private:
|
||||
uint8_t coin_counter = 0;
|
||||
public:
|
||||
J33ISerialDevice();
|
||||
bool parse_msg(acioemu::MessageData *msg_in, circular_buffer<uint8_t> *response_buffer) override;
|
||||
|
||||
// there may be more, but the game doesn't seem to care
|
||||
// TODO: add support for gyroscope, knob and wail
|
||||
struct J33I_IO_STATUS {
|
||||
uint16_t gyroscope_x;
|
||||
uint16_t gyroscope_y;
|
||||
uint16_t gyroscope_z;
|
||||
uint16_t buttons;
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user