Nintendo Switch buttons list

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

Nintendo Switch buttons list

Postby fathead2k » Mon Nov 27, 2017 8:29 pm

I was curious if anyone could provide me the Nintendo Switch buttons list that I can use in GPC Scripts.
I not sure what the proper term actually is, so I attached an image of what I mean using the PS4 buttons list.

list.jpg
list.jpg (69.57 KiB) Viewed 1960 times


Basic I need the list of what each button is called for Switch scripts.

Thanks.
User avatar
fathead2k
Sergeant First Class
Sergeant First Class
 
Posts: 19
Joined: Thu Jan 16, 2014 8:09 pm

Re: Nintendo Switch buttons list

Postby J2Kbr » Tue Nov 28, 2017 1:23 pm

You are right, I forgot to add the references for the Nintendo Switch on the documentation. Here it is:

Code: Select all
SWITCH_HOME             0
SWITCH_MINUS            1
SWITCH_PLUS             2
SWITCH_R                3
SWITCH_ZR               4
SWITCH_SR               5
SWITCH_L                6
SWITCH_ZL               7
SWITCH_SL               8
SWITCH_RX               9
SWITCH_RY               10
SWITCH_LX               11
SWITCH_LY               12
SWITCH_UP               13
SWITCH_DOWN             14
SWITCH_LEFT             15
SWITCH_RIGHT            16
SWITCH_X                17
SWITCH_A                18
SWITCH_B                19
SWITCH_Y                20
SWITCH_ACCX             21
SWITCH_ACCY             22
SWITCH_ACCZ             23
SWITCH_GYROX            24
SWITCH_GYROY            25
SWITCH_GYROZ            26
SWITCH_CAPTURE          27
ConsoleTuner Support Team
User avatar
J2Kbr
General of the Army
General of the Army
 
Posts: 20323
Joined: Tue Mar 18, 2014 1:39 pm

Re: Nintendo Switch buttons list

Postby fathead2k » Tue Nov 28, 2017 3:49 pm

Thanks J2Kbr, much appreciated!
User avatar
fathead2k
Sergeant First Class
Sergeant First Class
 
Posts: 19
Joined: Thu Jan 16, 2014 8:09 pm

Re: Nintendo Switch buttons list

Postby TiranossauroRex » Mon Oct 07, 2019 12:54 am

J2Kbr wrote:You are right, I forgot to add the references for the Nintendo Switch on the documentation. Here it is:

Code: Select all
SWITCH_HOME             0
SWITCH_MINUS            1
SWITCH_PLUS             2
SWITCH_R                3
SWITCH_ZR               4
SWITCH_SR               5
SWITCH_L                6
SWITCH_ZL               7
SWITCH_SL               8
SWITCH_RX               9
SWITCH_RY               10
SWITCH_LX               11
SWITCH_LY               12
SWITCH_UP               13
SWITCH_DOWN             14
SWITCH_LEFT             15
SWITCH_RIGHT            16
SWITCH_X                17
SWITCH_A                18
SWITCH_B                19
SWITCH_Y                20
SWITCH_ACCX             21
SWITCH_ACCY             22
SWITCH_ACCZ             23
SWITCH_GYROX            24
SWITCH_GYROY            25
SWITCH_GYROZ            26
SWITCH_CAPTURE          27


Thanks... i need this to replace the keywords in my script ready.
Need update the table of Nintendo Switch this link: https://www.consoletuner.com/kbase/data ... s=AgAAAQ==

What keywords are the "L3" and "R3" buttons (clickable stick analogs)??
User avatar
TiranossauroRex
Sergeant First Class
Sergeant First Class
 
Posts: 21
Joined: Sun Sep 03, 2017 5:01 am

Re: Nintendo Switch buttons list

Postby J2Kbr » Sun Oct 13, 2019 5:44 pm

TiranossauroRex wrote:What keywords are the "L3" and "R3" buttons (clickable stick analogs)??

On Switch these are SWITCH_SR and SWITCH_SL.
ConsoleTuner Support Team
User avatar
J2Kbr
General of the Army
General of the Army
 
Posts: 20323
Joined: Tue Mar 18, 2014 1:39 pm

Re: Nintendo Switch buttons list

Postby TiranossauroRex » Wed Nov 13, 2019 2:41 am

J2Kbr wrote:
TiranossauroRex wrote:What keywords are the "L3" and "R3" buttons (clickable stick analogs)??

On Switch these are SWITCH_SR and SWITCH_SL.


Oh, thank you!!
I will write new script with the Switch's keywords!!
User avatar
TiranossauroRex
Sergeant First Class
Sergeant First Class
 
Posts: 21
Joined: Sun Sep 03, 2017 5:01 am

Re: Nintendo Switch buttons list

Postby J2Kbr » Wed Nov 13, 2019 2:25 pm

TiranossauroRex wrote:
J2Kbr wrote:
TiranossauroRex wrote:What keywords are the "L3" and "R3" buttons (clickable stick analogs)??

On Switch these are SWITCH_SR and SWITCH_SL.


Oh, thank you!!
I will write new script with the Switch's keywords!!

:joia: :joia:
ConsoleTuner Support Team
User avatar
J2Kbr
General of the Army
General of the Army
 
Posts: 20323
Joined: Tue Mar 18, 2014 1:39 pm


Return to GPC1 Script Programming

Who is online

Users browsing this forum: No registered users and 90 guests