8BitDo Lite SE: Remap for Titan One use

GPC1 script programming for Titan One. Code examples, questions, requests.

8BitDo Lite SE: Remap for Titan One use

Postby SpecialEffect » Wed Jul 27, 2022 3:38 pm

Image

The code below remaps an 8BitDo Lite SE controller to more standard controls. Tested direct to:

Nintendo Switch.
PS4 (7 minutes play then quick disconnect/reconnect)
PS5 (same and mostly only for PS4 games)

And using a PC and Sony's Remote Play app, with the Titan One in "PS4 Remote Play" mode (set using GTuner software) fairly unrestricted use on a PS5. Likely a PS4 too.


Code: Select all
// 8BitDo Lite SE "Direct Input" mode (put slider to D position)
// Remap for use through a Titan One adapter
 
//     _                         _ _     _ _ _ _           ____            _       _       
//    / \   ___ ___ ___  ___ ___(_) |__ (_) (_) |_ _   _  / ___|  ___ _ __(_)_ __ | |_ ___
//   / _ \ / __/ __/ _ \/ __/ __| | '_ \| | | | __| | | | \___ \ / __| '__| | '_ \| __/ __|
//  / ___ \ (_| (_|  __/\__ \__ \ | |_) | | | | |_| |_| |  ___) | (__| |  | | |_) | |_\__ \
// /_/   \_\___\___\___||___/___/_|_.__/|_|_|_|\__|\__, | |____/ \___|_|  |_| .__/ \__|___/

//                                                 |___/                    |_|           
 
 
//  July 2022
//  [email protected]
 
 
remap SWITCH_A -> SWITCH_Y;
remap SWITCH_Y -> SWITCH_A;
remap SWITCH_L -> SWITCH_Y;
 
remap SWITCH_ZL -> SWITCH_L;
remap SWITCH_MINUS -> SWITCH_ZL;
remap SWITCH_SL -> SWITCH_MINUS;
remap HID_XINPUT_1 -> SWITCH_SL;
 
remap SWITCH_ACCY -> SWITCH_SR;
remap HID_BUTTON_6 -> SWITCH_PLUS;
remap HID_BUTTON_3 -> SWITCH_ZR;
remap HID_BUTTON_5 -> SWITCH_R;
 
 
main {
 
// BLOCK six-axis movement being triggered via the L2 and R2 buttons
set_val(SWITCH_GYROX, 0);set_val(SWITCH_ACCZ, 0);
 
        }
 
User avatar
SpecialEffect
Sergeant Major of the Army
Sergeant Major of the Army
 
Posts: 197
Joined: Mon Apr 07, 2014 3:26 pm

Return to GPC1 Script Programming

Who is online

Users browsing this forum: No registered users and 8 guests