uDraw emulation

This commit is contained in:
Florin9doi 2022-11-18 10:15:50 +02:00 committed by Megamouse
parent 40eda1b972
commit 463826bf13
14 changed files with 353 additions and 4 deletions

View file

@ -21,6 +21,7 @@
#include "Emu/Io/ghltar_config.h"
#include "Emu/Io/Buzz.h"
#include "Emu/Io/buzz_config.h"
#include "Emu/Io/GameTablet.h"
#include "Emu/Io/Turntable.h"
#include "Emu/Io/turntable_config.h"
#include "Emu/Io/RB3MidiKeyboard.h"
@ -478,6 +479,12 @@ usb_handler_thread::usb_handler_thread()
sys_usbd.notice("Adding emulated Buzz! buzzer (5-7 players)");
usb_devices.push_back(std::make_shared<usb_device_buzz>(4, 6, get_new_location()));
}
if (g_cfg.io.gametablet == gametablet_handler::enabled)
{
sys_usbd.notice("Adding emulated uDraw GameTablet");
usb_devices.push_back(std::make_shared<usb_device_gametablet>(get_new_location()));
}
}
usb_handler_thread::~usb_handler_thread()