summaryrefslogtreecommitdiff
path: root/handle_devices.h
diff options
context:
space:
mode:
authorClay Smith <claysmith158@gmail.com>2023-02-05 13:50:51 -0600
committerClay Smith <claysmith158@gmail.com>2023-02-05 13:50:51 -0600
commita8003ca6d7c1a48ad30aa8205d352031b21e7996 (patch)
tree06904f2f4e0f98417f16226fce35c6e51550ffd4 /handle_devices.h
parentf54d199eb6e20fb38248d73cf83926360b6a57d2 (diff)
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
Diffstat (limited to 'handle_devices.h')
-rw-r--r--handle_devices.h10
1 files changed, 5 insertions, 5 deletions
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[], ...);