Updated How to create custom touch control layout (markdown)

redphx 2024-03-19 11:09:18 +07:00
parent edf5dd3a06
commit 9e455b53df

@ -152,7 +152,6 @@ BX_EXPOSED.test_touch_control(
1. Fork the [`gh-pages`](https://github.com/redphx/better-xcloud/tree/gh-pages) branch:
2. Create two files: `<XBOX_TITLE_ID>.json` and `layouts/<LAYOUT_FILE_NAME>.json`
- ⚠️ Use [DuckDuckGo's JSON Beautifier tool](https://duckduckgo.com/?t=ffab&q=format+json&ia=answer) (indent with 2 spaces) to beautify & validate the JSON contents first.
- `<XBOX_TITLE_ID>.json`:
- To find the value of `XBOX_TITLE_ID`:
1. Find the game on [dbox.tools](https://dbox.tools). [Here](https://dbox.tools/store/products/9PLZPHBNHTMF/) is the page for DOOM 1993.
@ -181,7 +180,10 @@ BX_EXPOSED.test_touch_control(
}
}
```
3. Create a pull request including the screenshot of the layout. Chrome/Edge has a built-in screenshot feature:
3. ⚠️ Use [DuckDuckGo's JSON Beautifier tool](https://duckduckgo.com/?t=ffab&q=format+json&ia=answer) (indent with 2 spaces) to beautify & validate the JSON files.
4. Create a pull request including the screenshot of the layout. Chrome/Edge has a built-in screenshot feature:
<img width="366" alt="Screenshot 2024-03-10 at 10 39 49" src="https://github.com/redphx/better-xcloud/assets/96280/cb6d0211-9f6b-4a37-ae84-f6df5c14d7bf">
4. Done! That's the basic of it. I'll update with more details later.
5. Done! That's the basic of it. I'll update with more details later.