<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Amirhoshein</title>
    <description>The latest articles on DEV Community by Amirhoshein (@amirhoshein).</description>
    <link>https://dev.to/amirhoshein</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4230799%2F5941f193-f74f-4a9b-917e-c2342b660273.png</url>
      <title>DEV Community: Amirhoshein</title>
      <link>https://dev.to/amirhoshein</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/amirhoshein"/>
    <language>en</language>
    <item>
      <title>HSH Gamepad: Turn Your Phone into a Fully Customizable Virtual Controller for PC</title>
      <dc:creator>Amirhoshein</dc:creator>
      <pubDate>Fri, 06 Nov 2026 16:15:54 +0000</pubDate>
      <link>https://dev.to/amirhoshein/turn-your-android-phone-into-a-virtual-gamepad-for-windows-45if</link>
      <guid>https://dev.to/amirhoshein/turn-your-android-phone-into-a-virtual-gamepad-for-windows-45if</guid>
      <description>&lt;p&gt;What if you could turn your phone into a professional-grade gamepad, a racing wheel, or even a wireless mouse—without installing any app on your phone? &lt;/p&gt;

&lt;p&gt;I built &lt;strong&gt;HSH Gamepad&lt;/strong&gt;, an open-source Windows tool that does exactly that. Unlike basic virtual controllers, HSH Gamepad gives you complete freedom to design your own layout, create powerful macros, and customize every pixel to your liking.&lt;/p&gt;

&lt;p&gt;Here’s a deep dive into what makes it special.&lt;/p&gt;

&lt;h2&gt;
  
  
  🎮 Not Just a Gamepad: Multiple Modes
&lt;/h2&gt;

&lt;p&gt;HSH Gamepad adapts to how you want to play. You can emulate:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;PS4 (DualShock 4)&lt;/strong&gt; or &lt;strong&gt;Xbox 360&lt;/strong&gt; controllers.&lt;/li&gt;
&lt;li&gt;A &lt;strong&gt;Steering Wheel&lt;/strong&gt; using your phone’s gyroscope, with adjustable rotation angle, sensitivity, dead zone, and analog/digital pedals[reference:1].&lt;/li&gt;
&lt;li&gt;A &lt;strong&gt;Mouse &amp;amp; Keyboard&lt;/strong&gt; (for Player 1 only), turning your phone into a laptop-style touchpad with gestures for click, scroll, and right-click[reference:2].&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;It supports up to &lt;strong&gt;9 players simultaneously&lt;/strong&gt;, each with a unique color, making it perfect for local multiplayer parties[reference:3].&lt;/p&gt;

&lt;h2&gt;
  
  
  🛠️ Complete Layout Freedom
&lt;/h2&gt;

&lt;p&gt;This is where HSH Gamepad truly shines. Every single element on the screen is editable:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Drag &amp;amp; Drop Editing&lt;/strong&gt;: Long-press any button and move it anywhere you want[reference:4].&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Precise Sizing&lt;/strong&gt;: Adjust width, height, and even text size. You can resize buttons up to &lt;strong&gt;300%&lt;/strong&gt; and independently set the touch area up to &lt;strong&gt;500%&lt;/strong&gt; for easier control[reference:5].&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Opacity Control&lt;/strong&gt;: Make any button fully transparent or as opaque as you need[reference:6].&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Advanced D-Pad &amp;amp; Stick Modes&lt;/strong&gt;: Choose between button-style D-Pad, separate action buttons, fixed or floating joysticks, and even swap the right stick for buttons[reference:7].&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Copy, Delete, or Add Buttons&lt;/strong&gt;: Build your layout from scratch[reference:8].&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  ⚡ Macro Power: Automate Complex Actions
&lt;/h2&gt;

&lt;p&gt;You can assign a &lt;strong&gt;macro&lt;/strong&gt; to any button to execute a sequence of actions with a single tap[reference:9]. This is a game-changer for fighting games or any title requiring complex combos.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;How it works:&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Create a macro button (e.g., &lt;code&gt;M1&lt;/code&gt;).&lt;/li&gt;
&lt;li&gt;Add commands like &lt;code&gt;press A&lt;/code&gt;, &lt;code&gt;hold LT&lt;/code&gt;, &lt;code&gt;delay 200ms&lt;/code&gt;, &lt;code&gt;release LT&lt;/code&gt;, etc.[reference:10].&lt;/li&gt;
&lt;li&gt;Save and play.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;You can chain up to &lt;strong&gt;100 lines per macro&lt;/strong&gt; and store up to &lt;strong&gt;30 macros per controller&lt;/strong&gt;. The system even shows a progress ring while the macro is running[reference:11].&lt;/p&gt;

&lt;h2&gt;
  
  
  🎨 Deep Visual Customization
&lt;/h2&gt;

&lt;p&gt;Make your controller look exactly how you want:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Dozens of Pre-made Themes&lt;/strong&gt; plus the ability to build your own from scratch.&lt;/li&gt;
&lt;li&gt;Customize colors for backgrounds, buttons, text, borders, shadows, &lt;strong&gt;neon glow effects&lt;/strong&gt;, pressed-state colors, steering wheel gradients, and more[reference:12].&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Edit the Theme JSON&lt;/strong&gt;: Copy the theme code, tweak it, or import a friend’s theme[reference:13].&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Light Mode&lt;/strong&gt; for low-end phones: disables blur and some animations to keep latency minimal[reference:14].&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  💻 Smart Windows App
&lt;/h2&gt;

&lt;p&gt;The desktop companion isn’t just a server—it’s packed with useful tools:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;QR Code Connection&lt;/strong&gt;: Just scan and play[reference:15].&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Live Player List&lt;/strong&gt;: See names, phone models, and IPs of connected devices.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Controller Tester&lt;/strong&gt;: A 3D window that visualizes button presses, gyroscope data, and vibration tests in real-time[reference:16].&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Auto-Remove Idle Controllers&lt;/strong&gt;: Frees up slots automatically.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Security Toggle&lt;/strong&gt;: A switch to enable/disable mouse &amp;amp; keyboard control from your phone[reference:17].&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Admin Mode&lt;/strong&gt;: Required for mouse/keyboard control to work with elevated apps like Task Manager[reference:18].&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  ⚡ Ultra-Low Latency
&lt;/h2&gt;

&lt;p&gt;Latency from touch to PC execution is between &lt;strong&gt;2 to 6 milliseconds&lt;/strong&gt; (assuming zero local network delay)[reference:19]. For the absolute best experience, connect your phone via &lt;strong&gt;USB Tethering&lt;/strong&gt; instead of Wi-Fi[reference:20].&lt;/p&gt;

&lt;h2&gt;
  
  
  🚀 Getting Started
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Download&lt;/strong&gt; the latest release from the &lt;a href="https://github.com/Amirhoshein/hshgamepad/releases/latest" rel="noopener noreferrer"&gt;GitHub Releases page&lt;/a&gt;. The installer automatically sets up the required ViGEmBus driver[reference:21].&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Run&lt;/strong&gt; the app as Administrator.&lt;/li&gt;
&lt;li&gt;Ensure your phone and PC are on the &lt;strong&gt;same Wi-Fi network&lt;/strong&gt; (or use USB Tethering).&lt;/li&gt;
&lt;li&gt;Open the address shown in the app on your phone’s browser, or scan the QR code.&lt;/li&gt;
&lt;li&gt;Choose your player number and controller type. That’s it—launch your game![reference:22]&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  🤝 Contributing &amp;amp; Feedback
&lt;/h2&gt;

&lt;p&gt;HSH Gamepad is open-source and actively developed. If you find a bug, have a feature request, or want to contribute code, please visit the &lt;a href="https://github.com/Amirhoshein/hshgamepad" rel="noopener noreferrer"&gt;GitHub repository&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;If you find this project useful, &lt;strong&gt;please give it a ⭐ on GitHub&lt;/strong&gt;—it helps immensely with visibility and motivates further development.&lt;/p&gt;

&lt;p&gt;Happy gaming! 🕹️&lt;/p&gt;

</description>
      <category>gaming</category>
      <category>android</category>
      <category>windows</category>
      <category>programming</category>
    </item>
  </channel>
</rss>
