Skip to content

Commit

Permalink
add new drivers to cmake
Browse files Browse the repository at this point in the history
  • Loading branch information
sanjay900 committed Oct 17, 2023
1 parent 3980502 commit 4b04d61
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 3 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,9 @@ add_executable(fakemote
source/usb_hid.c
source/usb_drivers/sony_ds3.c
source/usb_drivers/sony_ds4.c
source/usb_drivers/dj_hero_turntable.c
source/usb_drivers/guitar_hero_drums.c
source/usb_drivers/guitar_hero_guitar.c
)

target_include_directories(fakemote PRIVATE
Expand Down
3 changes: 1 addition & 2 deletions source/usb_drivers/guitar_hero_drums.c
Original file line number Diff line number Diff line change
Expand Up @@ -165,8 +165,7 @@ bool gh_drum_driver_ops_probe(u16 vid, u16 pid)
int gh_drum_driver_ops_init(usb_input_device_t *device, u16 vid, u16 pid)
{
int ret;
struct gh_drum_private_data_t *priv = (void *)device->private_data;


fake_wiimote_set_extension(device->wiimote, WIIMOTE_EXT_DRUM);

ret = gh_drum_request_data(device);
Expand Down

0 comments on commit 4b04d61

Please sign in to comment.