TriForceX / MiyooCFW

Custom firmware source code and resources for BittBoy, PocketGo, PowKiddy V90-Q90-Q20 and third party handheld consoles
GNU General Public License v2.0
1.11k stars 112 forks source link

[FEATURE-REQ]: add prompt to select USB connection type (or method to change USB startup mode) #590

Open CountessTemmie opened 6 months ago

CountessTemmie commented 6 months ago

would be nice an option to turn on the usb host at the startup for those that play with controllers a lot

Apaczer commented 5 months ago

The future idea is to display a prompt in gmenu2x (if USB is connected) to change USB options at use:

< > Charge
<x> File Transfer
< > Connect Device
< > Serial Port.

Same goes for MiniJack connection prompt (if detected) to change Data being redirected:

 <x> Audio output (headphone)
 < > Audio/Video output (TV)
Apaczer commented 5 months ago

For now u could edit file /etc/main from rootfs in this part: https://github.com/MiyooCFW/buildroot/blob/fd34e2b21ecd39476599dfcee493048c1f02986e/board/miyoo/rootfs/etc/main#L130 by adding cmd from usb-host.sh script app, just before gmenu2x startup