mirror of
https://github.com/erickdavestech/ps5-dualsense-overlay.git
synced 2026-10-06 08:00:12 +02:00
On-screen DualSense controller overlay for a PS5 running homebrew. Derivative of Common FPS for PS5 v1.2.1 by porhe911 with the SimpleFPS patch by khalifa007, both GPL-3.0-or-later. Controller artwork by Zacksly, CC BY 3.0, modified. See CREDITS.md and CHANGELOG.md. Signed-off-by: erickdavestech <54048831+erickdavestech@users.noreply.github.com>
237 lines
4.0 KiB
JSON
237 lines
4.0 KiB
JSON
{
|
|
"canvas": [
|
|
640,
|
|
480
|
|
],
|
|
"sizes": {
|
|
"1280": 2.0,
|
|
"640": 1.0,
|
|
"320": 0.5
|
|
},
|
|
"units": "Todas las coordenadas están en unidades de 640x480; multiplica por sizes[carpeta].",
|
|
"base": "base.png",
|
|
"base_full": "base_full.png",
|
|
"buttons": {
|
|
"triangle": {
|
|
"sprite": "pressed/triangle.png",
|
|
"rect": [
|
|
482,
|
|
106,
|
|
64,
|
|
64
|
|
],
|
|
"bit": "0x1000"
|
|
},
|
|
"circle": {
|
|
"sprite": "pressed/circle.png",
|
|
"rect": [
|
|
528,
|
|
152,
|
|
64,
|
|
64
|
|
],
|
|
"bit": "0x2000"
|
|
},
|
|
"cross": {
|
|
"sprite": "pressed/cross.png",
|
|
"rect": [
|
|
482,
|
|
198,
|
|
64,
|
|
64
|
|
],
|
|
"bit": "0x4000"
|
|
},
|
|
"square": {
|
|
"sprite": "pressed/square.png",
|
|
"rect": [
|
|
436,
|
|
152,
|
|
64,
|
|
64
|
|
],
|
|
"bit": "0x8000"
|
|
},
|
|
"dpad_up": {
|
|
"sprite": "pressed/dpad_up.png",
|
|
"rect": [
|
|
96,
|
|
122,
|
|
58,
|
|
66
|
|
],
|
|
"bit": "0x10"
|
|
},
|
|
"dpad_down": {
|
|
"sprite": "pressed/dpad_down.png",
|
|
"rect": [
|
|
96,
|
|
180,
|
|
58,
|
|
68
|
|
],
|
|
"bit": "0x40"
|
|
},
|
|
"dpad_left": {
|
|
"sprite": "pressed/dpad_left.png",
|
|
"rect": [
|
|
62,
|
|
154,
|
|
66,
|
|
60
|
|
],
|
|
"bit": "0x80"
|
|
},
|
|
"dpad_right": {
|
|
"sprite": "pressed/dpad_right.png",
|
|
"rect": [
|
|
122,
|
|
154,
|
|
66,
|
|
60
|
|
],
|
|
"bit": "0x20"
|
|
},
|
|
"l1": {
|
|
"sprite": "pressed/l1.png",
|
|
"rect": [
|
|
76,
|
|
56,
|
|
106,
|
|
52
|
|
],
|
|
"bit": "0x400"
|
|
},
|
|
"r1": {
|
|
"sprite": "pressed/r1.png",
|
|
"rect": [
|
|
458,
|
|
56,
|
|
106,
|
|
52
|
|
],
|
|
"bit": "0x800"
|
|
},
|
|
"create": {
|
|
"sprite": "pressed/create.png",
|
|
"rect": [
|
|
152,
|
|
88,
|
|
44,
|
|
56
|
|
],
|
|
"bit": "0x1"
|
|
},
|
|
"options": {
|
|
"sprite": "pressed/options.png",
|
|
"rect": [
|
|
444,
|
|
88,
|
|
42,
|
|
56
|
|
],
|
|
"bit": "0x8"
|
|
},
|
|
"mute": {
|
|
"sprite": "pressed/mute.png",
|
|
"rect": [
|
|
292,
|
|
288,
|
|
56,
|
|
30
|
|
],
|
|
"bit": null
|
|
},
|
|
"ps": {
|
|
"sprite": "pressed/ps.png",
|
|
"rect": [
|
|
286,
|
|
238,
|
|
64,
|
|
54
|
|
],
|
|
"bit": null
|
|
},
|
|
"touchpad": {
|
|
"sprite": "pressed/touchpad.png",
|
|
"rect": [
|
|
182,
|
|
60,
|
|
276,
|
|
160
|
|
],
|
|
"bit": "0x100000"
|
|
}
|
|
},
|
|
"sticks": {
|
|
"left": {
|
|
"center": [
|
|
218.58,
|
|
270.67
|
|
],
|
|
"travel": 12,
|
|
"size": [
|
|
96,
|
|
96
|
|
],
|
|
"sprite": "stick_cap.png",
|
|
"sprite_pressed": "stick_cap_l3.png",
|
|
"click": "l3",
|
|
"bit": "0x2"
|
|
},
|
|
"right": {
|
|
"center": [
|
|
420.17,
|
|
270.36
|
|
],
|
|
"travel": 12,
|
|
"size": [
|
|
96,
|
|
96
|
|
],
|
|
"sprite": "stick_cap.png",
|
|
"sprite_pressed": "stick_cap_l3.png",
|
|
"click": "r3",
|
|
"bit": "0x4"
|
|
}
|
|
},
|
|
"triggers": {
|
|
"l2": {
|
|
"sprite": "l2_fill.png",
|
|
"rect": [
|
|
100,
|
|
10,
|
|
56,
|
|
58
|
|
],
|
|
"fill": "bottom_up",
|
|
"bit": "0x100"
|
|
},
|
|
"r2": {
|
|
"sprite": "r2_fill.png",
|
|
"rect": [
|
|
482,
|
|
10,
|
|
56,
|
|
58
|
|
],
|
|
"fill": "bottom_up",
|
|
"bit": "0x200"
|
|
}
|
|
},
|
|
"touchpad": {
|
|
"rect": [
|
|
195.21,
|
|
72.77,
|
|
248.96,
|
|
133.28
|
|
],
|
|
"dot": "touch_dot.png",
|
|
"dot_size": [
|
|
44,
|
|
44
|
|
],
|
|
"note": "Mapear ScePadTouch.x/y con la resolución de scePadGetControllerInformation()."
|
|
},
|
|
"credits": "Button Icons and Controls by Zacksly (CC BY 3.0 | zacksly.itch.io) — modificado"
|
|
} |