diff --git a/How-to-create-custom-touch-control-layout.md b/How-to-create-custom-touch-control-layout.md index 148a00d..5e3b883 100644 --- a/How-to-create-custom-touch-control-layout.md +++ b/How-to-create-custom-touch-control-layout.md @@ -163,9 +163,11 @@ testTouchLayout( 2. Add `"name": "Layout Name"` line into the layout (Replace "Layout Name" with the real name) -3. Fork the [`gh-pages`](https://github.com/redphx/better-xcloud/tree/gh-pages) branch: +3. Add `"author": "Author Name"` line into the layout (Replace "Author Name" with your username) -4. Create two files: `touch-layouts/.json` and `touch-layouts/layouts/.json` +4. Fork the [`gh-pages`](https://github.com/redphx/better-xcloud/tree/gh-pages) branch: + +5. Create two files: `touch-layouts/.json` and `touch-layouts/layouts/.json` - `.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. @@ -192,9 +194,9 @@ testTouchLayout( } ``` -5. ⚠️ 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. Copy the result and paste it back into the layout file. +6. ⚠️ 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. Copy the result and paste it back into the layout file. -6. Create a pull request including the screenshot of the layout. Chrome/Edge has a built-in screenshot feature: +7. Create a pull request including the screenshot of the layout. Chrome/Edge has a built-in screenshot feature: Screenshot 2024-03-10 at 10 39 49 -7. Done! That's the basic of it. I'll update with more details later. \ No newline at end of file +8. Done! That's the basic of it. I'll update with more details later. \ No newline at end of file