From a8003ca6d7c1a48ad30aa8205d352031b21e7996 Mon Sep 17 00:00:00 2001 From: Clay Smith Date: Sun, 5 Feb 2023 13:50:51 -0600 Subject: Now working with scanf properly on my end. Run the program without arguments to get devices connected, run with the number to run that device --- handle_devices.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'handle_devices.h') diff --git a/handle_devices.h b/handle_devices.h index d70ff41..372e883 100644 --- a/handle_devices.h +++ b/handle_devices.h @@ -1,15 +1,15 @@ #ifndef HANDLE_DEVICES_H #define HANDLE_DEVICES_H -void open_wii(int* device_fptr_array, uint64_t* connected_controllers); +void open_wii(int* device_fptr_array, uint64_t* connected_controllers, int choice); -void open_ps4_bt(int* device_fptr_array, uint64_t* connected_controllers); +void open_ps4_bt(int* device_fptr_array, uint64_t* connected_controllers, int choice); -void open_ps4_wired(int* device_fptr_array, uint64_t* connected_controllers); +void open_ps4_wired(int* device_fptr_array, uint64_t* connected_controllers, int choice); -void open_steam(int* device_fptr_array, uint64_t* connected_controllers); +void open_steam(int* device_fptr_array, uint64_t* connected_controllers, int choice); -void open_xbox_360(int* device_fptr_array, uint64_t* connected_controllers); +void open_xbox_360(int* device_fptr_array, uint64_t* connected_controllers, int choie); void close_unneeded_files(int num_exceptions, int controller_event_fptrs[], ...); -- cgit v1.2.1