This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch master
in repository minilauncher-for-slippi.

View the commit online.

commit 668be402da57002222878e2081d80666f186123b
Author: Nekobit <m...@ow.nekobit.net>
AuthorDate: Sun Sep 10 23:24:15 2023 -0400

    Fuck it all
---
 input.c | 26 ++++++--------------------
 main.c  |  2 --
 2 files changed, 6 insertions(+), 22 deletions(-)

diff --git a/input.c b/input.c
index 1cd3688..038c1b6 100644
--- a/input.c
+++ b/input.c
@@ -242,32 +242,18 @@ input_gcadapter_setup()
 				ret = libusb_interrupt_transfer(gcadapter, gc_endpoint_out, &payload,
 				                          sizeof(payload), &tmp, 32);
 				                          
-				                          sleep(1);
+				                          sleep(2);
 				              
-				float z = 120; 
 				while (1)
 				{           
-				ret = libusb_interrupt_transfer(gcadapter, gc_endpoint_out, &payload,
-				                          sizeof(payload), &tmp, 32);
-				z += 0.001;
-				unsigned char rumble[] = {0x11,z,z,z,z};
+				unsigned char rumble[] = {0x11,1,1,1,1};
 			                           
 				ret = libusb_interrupt_transfer(gcadapter, gc_endpoint_out, rumble, sizeof(rumble), &tmp, 32);
-				printf("%d byte\n", tmp);
-				if (ret)
-				{
-					printf("Error\n");
-				}
-				//sleep(1);
-				unsigned char rumbles[] = {0x11,0,0,0,0};
+				                          sleep(2);
+				unsigned char rumble2[] = {0x11,0,0,0,0};
 			                           
-				ret = libusb_interrupt_transfer(gcadapter, gc_endpoint_out, rumbles, sizeof(rumbles), &tmp, 32);
-				printf("%d byte\n", tmp);
-				if (ret)
-				{
-					printf("Error\n");
-				}
-				//sleep(1);
+				ret = libusb_interrupt_transfer(gcadapter, gc_endpoint_out, rumble2, sizeof(rumble2), &tmp, 32);
+				ret = libusb_interrupt_transfer(gcadapter, gc_endpoint_in, rumble2, sizeof(rumble2), &tmp, 32);
 				}
 				
 				// END...
diff --git a/main.c b/main.c
index 9e5c03c..9a4080f 100644
--- a/main.c
+++ b/main.c
@@ -20,7 +20,6 @@ Evas_Object* win;
 Evas_Object* _tab_curr;
 extern Evas_Object* tab_home;
 extern Evas_Object* tab_replays;
-Evas_Object* tab_scroller;
 Evas_Object* _tabs[] = { NULL, NULL };
 Evas_Object* _scrollers[] = { NULL, NULL };
 int _tabs_len = 2;
@@ -88,7 +87,6 @@ update_tab(Evas_Object* newtab)
 	if (newtab)
 	{
 		_tab_curr = newtab;
-		tab_scroller = _tab_curr;
 		evas_object_size_hint_weight_set(_tab_curr, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
 		evas_object_show(mainer);
 		evas_object_show(_tab_curr);

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.

Reply via email to