Files
GP2040-CE/headers/gp2040aux.h
Luke A 6a7dc59b98 Xbox 360 Pass-through Authentication (#1138)
* [ImgBot] Optimize images

*Total -- 6,536.44kb -> 6,081.92kb (6.95%)

/configs/OpenCore0/assets/Open_Core0_LED_order.png -- 81.87kb -> 34.77kb (57.53%)
/configs/OpenCore0/assets/Open_Core0_pin_mapping.png -- 79.46kb -> 34.15kb (57.02%)
/configs/OpenCore0/assets/Open_Core0_layout.png -- 80.33kb -> 34.76kb (56.73%)
/configs/OpenCore0/assets/Open_Core0_2.jpg -- 3,134.92kb -> 2,976.17kb (5.06%)
/configs/OpenCore0/assets/Open_Core0.jpg -- 3,159.87kb -> 3,002.07kb (4.99%)

Signed-off-by: ImgBotApp <ImgBotHelp@gmail.com>

* Very WIP xbox 360 auth, don't use this for any reason

* Packet size has to be 64

* Fixed a bug with descriptor strings that was causing the xbox 360 security auth to fail

* X360 Auth Working! Need to go over a lot of this code because I sync cores now, a lot of xinput changes, etc.

* Re-enabling printf to figure out what is going wrong with release

DO NOT USE THIS VERSION

* Let's revert some core dependence if that's the issue on release

* Add sync back in and move add-ons to after driver init

* Removing stdio init seems to fix haute42

* Lots of code cleaning. Core0 will always setup() before Core1() so we can remove core1 wait. Added nop to while loop just to add some CPU spice

* Updating TinyUSB to 0.17.0 release from Sept. 2024

* Getting x360 back up to working, fixing some small bugs

* One merge fix for feature data + tud auth data

* Formatting, getting ready for merge

* Last of the formatting!

---------

Signed-off-by: ImgBotApp <ImgBotHelp@gmail.com>
Co-authored-by: ImgBotApp <ImgBotHelp@gmail.com>
2024-09-23 23:07:38 -04:00

26 lines
493 B
C++

/*
* SPDX-License-Identifier: MIT
* SPDX-FileCopyrightText: Copyright (c) 2024 OpenStickCommunity (gp2040-ce.info)
*/
#ifndef GP2040CORE1_H_
#define GP2040CORE1_H_
#include "addonmanager.h"
#include "drivermanager.h"
class GP2040Aux {
public:
GP2040Aux();
~GP2040Aux();
void setup(); // setup core1
void run(); // loop core1
bool ready(){ return isReady; }
private:
GPDriver * inputDriver;
AddonManager addons;
bool isReady;
};
#endif