-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
89 lines (86 loc) · 7.23 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Xbox Controller Button Remapper</title>
<style>
body {
font-family: system-ui;
font-size: 1rem;
margin: 0;
}
div {
width: 768px;
max-width: 90%;
margin: 1rem auto;
}
h1 {
display: flex;
justify-content: space-between;
}
svg {
display: inline-block;
width: 2rem;
height: auto;
color: #000;
}
</style>
</head>
<body>
<div>
<h1>Xbox Controller Button Remapper <a href="https://github.com/Adam777Z/xbox-controller-button-remapper" target="_blank" rel="noopener noreferrer"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-github" viewBox="0 0 16 16"><path d="M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.012 8.012 0 0 0 16 8c0-4.42-3.58-8-8-8z"/></svg></a></h1>
<p>A small program that runs in the background and sends the configured key(s)/triggers action when the Xbox button and/or Share button is pressed on the controller.</p>
<p>Supports capturing screenshots directly without any other program involved so the button prompts do not change in the game after pressing the Xbox/Share button on the controller to take the screenshot.<br>
Can also capture screenshots using keys on the keyboard.</p>
<p>Can also open any file using keyboard key and/or controller button so the button prompts do not change in the game.</p>
<p>Configure the program using the config.ini file.</p>
<p>Works with the Xbox Series X|S Controller that has the Share button.</p>
<p>Make sure that the controller is updated to the latest firmware version. (Instructions: <a href="https://support.xbox.com/en-US/help/hardware-network/controller/update-xbox-wireless-controller" target="_blank" rel="nofollow noopener noreferrer">Update your Xbox Wireless Controller</a>)</p>
<p>Remapping the Xbox button only works when the <b>Open Game Bar using Xbox button on a controller</b> setting is disabled:<br>
<a href="https://www.tenforums.com/tutorials/138967-enable-disable-open-xbox-game-bar-using-controller-windows-10-a.html" target="_blank" rel="nofollow noopener noreferrer">Enable or Disable Open Game Bar using Xbox button on Controller in Windows 10</a><br>
<a href="https://www.elevenforum.com/t/enable-or-disable-open-game-bar-using-xbox-button-on-controller-in-windows-11.4290/" target="_blank" rel="nofollow noopener noreferrer">Enable or Disable Open Game Bar using Xbox button on Controller in Windows 11</a></p>
<p>Remapping the Share button only works when the <b>Windows Game Recording and Broadcasting</b> features are disabled:<br>
<a href="https://www.tenforums.com/tutorials/51180-enable-disable-windows-game-recording-broadcasting-windows-10-a.html" target="_blank" rel="nofollow noopener noreferrer">Enable or Disable Windows Game Recording and Broadcasting in Windows 10</a><br>
<a href="https://www.elevenforum.com/t/enable-or-disable-game-recording-for-captures-in-windows-11.17611/" target="_blank" rel="nofollow noopener noreferrer">Enable or Disable Windows Game Recording and Broadcasting in Windows 11</a></p>
<h2>Features</h2>
<ul>
<li>Remap Xbox button and/or Share button on the controller to keyboard key(s) and/or function(s)</li>
<li>Xbox/Share button long press (hold and release) remapping</li>
<li>Multiple controllers are supported</li>
<li>Multiple keyboard keys are supported</li>
<li>Wait before sending key(s) (delay)</li>
<li>Wait before releasing key(s) (duration)</li>
<li>Capture screenshots using keyboard key and/or controller button</li>
<li>Open file using keyboard key and/or controller button</li>
<li>Mute/unmute default recording/input device (microphone) (toggle and push-to-talk) using controller button</li>
<li>Configure the program using the config.ini file</li>
</ul>
<h2>Requirements</h2>
<ul>
<li>Xbox Controller</li>
<li>Windows 10/11 64-bit</li>
<li><a href="https://visualstudio.microsoft.com/downloads/#microsoft-visual-c-redistributable-for-visual-studio-2022" target="_blank" rel="nofollow noopener noreferrer">Microsoft Visual C++ Redistributable for Visual Studio 2022 x64</a></li>
</ul>
<h2>Download</h2>
<p>Download the latest version on the <a href="https://github.com/Adam777Z/xbox-controller-button-remapper/releases/latest" target="_blank" rel="noopener noreferrer">Releases</a> page.</p>
<h2>Run automatically at startup</h2>
<p>Follow these instructions:</p>
<ol>
<li><a href="https://support.microsoft.com/en-us/windows/pin-and-unpin-apps-to-the-start-menu-10c95188-5f75-bb6c-3fab-cfd678ac8476" target="_blank" rel="nofollow noopener noreferrer">Pin and unpin apps to the Start menu</a></li>
<li><a href="https://support.microsoft.com/en-us/windows/add-an-app-to-run-automatically-at-startup-in-windows-10-150da165-dcd9-7230-517b-cf3c295d89dd" target="_blank" rel="nofollow noopener noreferrer">Add an app to run automatically at startup in Windows 10</a></li>
</ol>
<h2>Support and Feedback</h2>
<p>Available under <a href="https://github.com/Adam777Z/xbox-controller-button-remapper/discussions" target="_blank" rel="noopener noreferrer">Discussions</a>.</p>
<h2>Credits</h2>
<ul>
<li>Thanks to Microsoft for the Xbox Controller</li>
<li><a href="https://www.reddit.com/r/emulation/comments/1goval/any_way_to_map_the_middle_xbox_360_button/camujj7/" target="_blank" rel="nofollow noopener noreferrer">button_on_360_guide</a> (GitHub: <a href="https://github.com/pinumbernumber/Xbox-360-Guide-Button-Remapper" target="_blank" rel="nofollow noopener noreferrer">1</a>, <a href="https://github.com/CautemocSg/xbox-360-guide-remapper" target="_blank" rel="nofollow noopener noreferrer">2</a>)<br>
Thanks to the creator of the original program and the source code that allowed it to be improved.</li>
<li><a href="https://github.com/libsdl-org/SDL" target="_blank" rel="nofollow noopener noreferrer">SDL</a></li>
<li>Windows.Graphics.Capture APIs for capturing screenshots (<a href="https://learn.microsoft.com/en-us/uwp/api/windows.graphics.capture" target="_blank" rel="nofollow noopener noreferrer">1</a>, <a href="https://learn.microsoft.com/en-us/windows/uwp/audio-video-camera/screen-capture" target="_blank" rel="nofollow noopener noreferrer">2</a>, <a href="https://blogs.windows.com/windowsdeveloper/2019/09/16/new-ways-to-do-screen-capture/" target="_blank" rel="nofollow noopener noreferrer">3</a>, <a href="https://github.com/robmikh/Win32CaptureSample" target="_blank" rel="nofollow noopener noreferrer">4</a>, <a href="https://github.com/robmikh/ScreenshotSample" target="_blank" rel="nofollow noopener noreferrer">5</a>)</li>
</ul>
</div>
</body>
</html>