Pete-Lawrence

Pete-Lawrence.github.io

Tekken-Gamepad

Tekken-Gamepad-Preview

Tekken 8

Create a Browser source in OBS with a Width of 1536 and Height of 512. For the URL, use this https://gamepadviewer.com/?p=1&css=https://pete-lawrence.github.io/tekken/tekken-new.css

To set your button mappings, there’s no need to mess with gamepadviewer’s remap this time around. Paste this into Custom CSS and modify it fit your mappings. I’ve tried to make it as straight forward as possible even if you’re unfamiliar with CSS. You just edit the value of background-position-x: per button, that’s all!

/*X / Square*/
.custom .button.x.pressed { opacity: 1; 
background-position-x: -512px;	} /*1*/

/*Y / Triangle*/
.custom .button.y.pressed { opacity: 1; 
background-position-x: -1024px;	} /*2*/

/*A / Cross*/ .custom .button.a.pressed { opacity: 1; 
background-position-x: -1536px;	} /*3*/

/*B / Circle*/ .custom .button.b.pressed { opacity: 1; 
background-position-x: -2048px;	} /*4*/


/*RB / R1*/ .custom .bumper.right.pressed { opacity: 1; 
background-position-x: -8192px;	} /*HEAT*/

/*RT / R2*/ .custom .trigger-button.right.pressed { opacity: 1; 
background-position-x: -8704px;	} /*RAGE*/

/*RS / R3*/ .custom .stick.right.pressed { opacity: 1; 
background-position-x: 0px;	} /*NONE*/


/*LB /L1*/ .custom .bumper.left.pressed { opacity: 1; 
background-position-x: 0px;	} /*NONE*/

/*LT /L2*/ .custom .trigger-button.left.pressed { opacity: 1; 
background-position-x: 0px;	} /*NONE*/

/*LS /L3*/ .custom .stick.left.pressed { opacity: 1; 
background-position-x: 0px;	} /*NONE*/


/*Start (Menu) / Options*/ .custom .start.pressed { opacity: 1; 
background-position-x: 0px;	} /*NONE*/

/*Back (View) / Touchpad*/ .custom .back.pressed { opacity: 1; 
background-position-x: 0px;	} /*NONE*/

/*		MAPPINGS LIST
/*		
/*		background-position-x: 0px;	} /*NONE*/
/*		
/*		background-position-x: -512px;	} /*1*/
/*		background-position-x: -1024px;	} /*2*/
/*		background-position-x: -1536px;	} /*3*/
/*		background-position-x: -2048px;	} /*4*/
/*
/*		background-position-x: -2560px;	} /*1+2*/
/*		background-position-x: -3072px;	} /*2+4*/
/*		background-position-x: -3584px;	} /*3+4*/
/*		background-position-x: -4096px;	} /*1+3*/
/*		
/*		background-position-x: -4608px;	} /*1+2+4*/
/*		background-position-x: -5120px;	} /*2+3+4*/
/*		background-position-x: -5632px;	} /*1+3+4*/
/*		background-position-x: -6144px;	} /*1+2+3*/
/*		
/*		background-position-x: -6656px;	} /*2+3*/
/*		background-position-x: -7168px;	} /*1+4*/
/*		
/*		background-position-x: -7680px;	} /*1+2+3+4*/
/*		
/*		background-position-x: -8192px;	} /*HEAT*/
/*		background-position-x: -8704px;	} /*RAGE*/

Extra Skins still WIP although if you want PC/Xbox styled buttons add this to Custom CSS as well Tekken-Gamepad-Preview

/*Buttons*/
.custom .button,
.custom .start,
.custom .back,
.custom .stick,
.custom .bumper,
.custom .trigger-button {
	top: 0px;
	right: 0px;
    position: absolute;
	width: 512px;
	height: 256px;
	opacity: 0;
	background: url(https://pete-lawrence.github.io/tekken/tekken-buttons-pc.svg);
}

Legacy Tekken Gamepad Viewer Below

(None of this applies to Tekken 8 Gamepad Viewer above)


default pc/xbox style

Video example: https://www.youtube.com/watch?v=fvnVDxeJVcg

Tekken skin for Mr McPowned’s Gamepad Viewer by Peter Lawrence aka MegaSphere for OBS. This skin supports all built-in button macros for Tekken.

1. Here are some premade configurations.

Create a Browser source in OBS with a Width of 1000 and Height of 400. For the URL, pick one of the links below with the description that best fits you.

2. Setting up your own configuration.

Step 1.
Go to ‘Button Rebinding’ on gamepadviewer.

Go to ‘Button Rebinding’ here, When the page loads, press a button on your controller and select “Player 1” for “Please select the controller to use as a mapping base”.


Step 2.
Setting up your button macros to match your own configuration ingame.


Step 3.
Disable all the unused buttons.

When you’re done setting up button macros, time to tidy things up by disabling all the unused buttons.


Step 4.
Export the configuration.


When you are done follow these steps in this order,

  1. Press “Apply Mapping”

  2. Press “Export Mapping to URL Generator”

  3. Paste this link into “Custom CSS URL:https://pete-lawrence.github.io/tekken/tekken.css

  4. Finally create a Browser source in OBS with a Width of 1000 and Height of 400 and paste in the generated URL.



3. Default Mapping.

Default Mapping

X/Square = 1

Y/Triangle = 2

A/Cross = 3

B/Circle = 4

RB/R1 = RA

RT/R2 = 1+4

LB/L1 = 2+4

LT/L2 = 2+3

RS/R3 = 3+4

LS/L3 = 1+2

Start = 1+3

Back/Select = 1+2+3+4


4. Bonus Skins (optional).

Copy and paste the css code into “custom CSS” in the browser window for OBS to add the skin.
Note: You will have to wait around 20 seconds before it updates so don’t panic if it doesn’t instantly work.


default ps style

PlayStation button colours css.

/*Face Buttons*/
.custom .button.x.pressed { background: #DFA1B4; } /*1*/
.custom .button.y.pressed { background: #0398A8; } /*2*/
.custom .button.a.pressed { background: #5092C0; } /*3*/
.custom .button.b.pressed { background: #C96280; } /*4*/

/*Button Combos*/
.custom .start,
.custom .back,
.custom .stick,
.custom .bumper,
.custom .trigger { background: url(https://pete-lawrence.github.io/tekken/tekken-button-combos-ps.svg); }

clear white style

Clear theme css.

/*Face Buttons*/
.custom .button.x.pressed { background: #FFFFFF; } /*1*/
.custom .button.y.pressed { background: #FFFFFF; } /*2*/
.custom .button.a.pressed { background: #FFFFFF; } /*3*/
.custom .button.b.pressed { background: #FFFFFF; } /*4*/

/*Button Combos*/
.custom .start,
.custom .back,
.custom .stick,
.custom .bumper,
.custom .trigger { background: url(https://pete-lawrence.github.io/tekken/tekken-button-combos-clear.svg); }

/*Button Panel*/
.controller.custom {
background: url(https://pete-lawrence.github.io/tekken/tekken-clear.svg);
background-position-x: -650px;
filter: drop-shadow( 1px 1px 0.75px rgba(0, 0, 0, 0.8));
}

/*Movement Inputs*/
.custom .fstick { background: url(https://pete-lawrence.github.io/tekken/tekken-clear.svg); }

/*Rage Art*/
.custom .bumper.right.pressed {
background: url(https://pete-lawrence.github.io/tekken/tekken-clear.svg);
background-position-x: -910px; }

clear red/white style

Clear theme with red arcade style button colours css.

/*Face Buttons*/
.custom .button.x.pressed { background: #CD0000; } /*1*/
.custom .button.y.pressed { background: #CD0000; } /*2*/
.custom .button.a.pressed { background: #CD0000; } /*3*/
.custom .button.b.pressed { background: #CD0000; } /*4*/

/*Button Combos*/
.custom .start,
.custom .back,
.custom .stick,
.custom .bumper,
.custom .trigger { background: url(https://pete-lawrence.github.io/tekken/tekken-button-combos-red.svg); }

/*Button Panel*/
.controller.custom {
background: url(https://pete-lawrence.github.io/tekken/tekken-clear-red.svg);
background-position-x: -650px;
filter: drop-shadow( 1px 1px 0.75px rgba(0, 0, 0, 0.8));
}

/*Movement Inputs*/
.custom .fstick { background: url(https://pete-lawrence.github.io/tekken/tekken-clear-red.svg); }

/*Rage Art*/
.custom .bumper.right.pressed {
background: url(https://pete-lawrence.github.io/tekken/tekken-clear-red.svg);
background-position-x: -910px; }

clear pc/xbox style

Clear theme with PC/Xbox style button colours css.

/*Button Panel*/
.controller.custom {
background: url(https://pete-lawrence.github.io/tekken/tekken-clear-pc.svg);
background-position-x: -650px;
filter: drop-shadow( 1px 1px 0.75px rgba(0, 0, 0, 0.8));
}

/*Movement Inputs*/
.custom .fstick { background: url(https://pete-lawrence.github.io/tekken/tekken-clear-pc.svg); }

/*Rage Art*/
.custom .bumper.right.pressed {
background: url(https://pete-lawrence.github.io/tekken/tekken-clear-pc.svg);
background-position-x: -910px; }

clear ps style

Clear theme with PlayStation button colours css.

/*Face Buttons*/
.custom .button.x.pressed { background: #DFA1B4; } /*1*/
.custom .button.y.pressed { background: #0398A8; } /*2*/
.custom .button.a.pressed { background: #5092C0; } /*3*/
.custom .button.b.pressed { background: #C96280; } /*4*/

/*Button Combos*/
.custom .start,
.custom .back,
.custom .stick,
.custom .bumper,
.custom .trigger { background: url(https://pete-lawrence.github.io/tekken/tekken-button-combos-ps.svg); }

/*Button Panel*/
.controller.custom {
background: url(https://pete-lawrence.github.io/tekken/tekken-clear-ps.svg);
background-position-x: -650px;
filter: drop-shadow( 1px 1px 0.75px rgba(0, 0, 0, 0.8));
}

/*Movement Inputs*/
.custom .fstick { background: url(https://pete-lawrence.github.io/tekken/tekken-clear-ps.svg); }

/*Rage Art*/
.custom .bumper.right.pressed {
background: url(https://pete-lawrence.github.io/tekken/tekken-clear-ps.svg);
background-position-x: -910px; }