Custom touch controls for LA Noire (#835)

* Add new ID to touch-layouts/ids.json

* Add files via upload

* Add files via upload
This commit is contained in:
Kode-Z
2025-11-18 00:53:23 +00:00
committed by GitHub
parent c9e34ca58d
commit a0c08abf57
3 changed files with 206 additions and 1 deletions

View File

@@ -0,0 +1,7 @@
{
"name": "L.A. Noire",
"default_layout": "custom",
"layouts": [
"la-noire"
]
}

View File

@@ -79,5 +79,6 @@
"C2LXXCC8TB61", "C2LXXCC8TB61",
"9PDKDBQGG2N2", "9PDKDBQGG2N2",
"9PNZH065X7PV", "9PNZH065X7PV",
"BSXDD75Q561F" "BSXDD75Q561F",
"BQDVBCS5Z4N1"
] ]

View File

@@ -0,0 +1,197 @@
{
"schema_version": 1,
"layouts": {
"custom": {
"name": "Custom",
"author": "Kode-Z",
"content": {
"left": {
"inner": [
{
"type": "joystick",
"axis": {
"input": "axisXY",
"output": "leftJoystick"
},
"action": "rightTrigger",
"relative": false,
"actionThreshold": 2,
"styles": {
"default": {
"knob": {
"faceImage": {
"type": "icon",
"value": "walk"
}
}
},
"activated": {
"knob": {
"faceImage": {
"type": "icon",
"value": "sprint"
}
}
}
}
}
],
"outer": [
[
{
"type": "button",
"action": "rightThumb",
"styles": {
"default": {
"faceImage": {
"type": "icon",
"value": "lookBehind2"
}
}
}
}
],
null,
null,
[
null,
{
"type": "button",
"action": "view",
"styles": {
"default": {
"faceImage": {
"type": "icon",
"value": "notebook"
}
}
}
},
null
],
[
{
"type": "joystick",
"axis": {
"input": "axisXY",
"output": "leftJoystick",
"deadzone": {
"threshold": 0,
"radial": true
}
},
"action": "leftTrigger",
"styles": {
"default": {
"knob": {
"faceImage": {
"type": "icon",
"value": "leftTrigger"
},
"background": {
"type": "color",
"value": "#ffffff",
"opacity": 0.1
},
"stroke": {
"opacity": 0.1
}
}
}
}
},
{
"type": "button",
"action": "leftThumb",
"styles": {
"default": {
"faceImage": {
"type": "icon",
"value": "horn"
}
}
}
},
{
"type": "button",
"action": "leftBumper"
}
]
]
},
"right": {
"inner": [
{
"type": "joystick",
"axis": {
"input": "axisXY",
"output": "rightJoystick"
}
}
],
"outer": [
{
"type": "button",
"action": "rightBumper"
},
{
"type": "button",
"action": "rightTrigger"
},
[
{
"type": "button",
"action": "gamepadX"
},
{
"type": "button",
"action": "gamepadB"
},
{
"type": "button",
"action": "gamepadA",
"styles": {
"default": {
"faceImage": {
"type": "icon",
"value": "interact"
}
}
}
}
],
[
{
"type": "directionalPad",
"interaction": {
"activationType": "exclusive"
}
}
],
null,
{
"type": "button",
"action": "gamepadY",
"styles": {
"default": {
"faceImage": {
"type": "icon",
"value": "enterCar"
}
}
}
}
]
},
"upper": {
"right": [
{
"type": "button",
"action": "menu"
}
]
}
}
}
}
}