TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

HID Remapper

116 pointsby peterburkimsher9 months ago

13 comments

TaylorAlexander9 months ago
Something similar that I want us USB Force Feedback wheel (and joystick) support for the RP2040. I looked pretty deeply in to this and I was unable to find any libraries which do the necessary USB magic for the chip to build devices which show up on a computer as force feedback. There’s some code for the Atmega32u4 to do it and in general there is documentation around the web for how this stuff works, but actually digging in to USB spec stuff is not really my thing.<p>There is an open source gamepad library for the RP2040 but they said on GitHub issues and discord that they have no plan to pursue force feedback support.<p>But I designed a really nice brushless motor controller for the RP2040 and I’d love to make a force feedback wheel with it! I already have a motorized wheel I built to test this and I even made it work with motorized return to center as a regular USB joystick device, I just don’t know the magic incantations to make it in to a force feedback device.
评论 #41299820 未加载
评论 #41301143 未加载
评论 #41297824 未加载
mongol9 months ago
Imagine something like this but having two USB inputs, one for the keyboard and one for your phone. Then your phone could inject passwords managed in the password manager in your phone. No need to keep them in the cloud.<p>Unfortunately I don&#x27;t think Android supports acting like a HID device. But possibly custom firmware in the dongle could support some USB serial protocol.
评论 #41299921 未加载
评论 #41298189 未加载
评论 #41297340 未加载
评论 #41297479 未加载
评论 #41313031 未加载
评论 #41297241 未加载
MrLeap9 months ago
This seems purpose built for me. I ordered a foot pedal online with the intention of hooking OBS up to it. It seems to send a &#x27;b&#x27; keydown event when it&#x27;s pressed, with no clear way to change it. Utterly useless out of the box lol.
评论 #41298277 未加载
评论 #41298326 未加载
评论 #41299552 未加载
评论 #41297331 未加载
dark-star9 months ago
This looks really awesome. It could easily replace a dozen AHK scripts on my system...<p>And, despite its obvious usefulness, this can also be used as base for a device to mess with coworkers. Change the firmware so that it rotates the mouse &quot;north&quot; by an arbitrary value between -30° and +30°, slowly changing over time. Or randomly remap keyboard keys to other neighboring keys but only once every n seconds&#x2F;minutes. Just enough to evade suspicion. So many possibilities :-D
aloer9 months ago
I saw this video [0] from the creator of this project the other day. Here he shows how to connect a USB joystick with a playstation access controller [1] by mapping from USB to 3.5mm analog output.<p>I found this because I was looking for something else for the access controller. It&#x27;s basically the other way around: I want to use the controller on a mac and need to remap it&#x27;s outputs to something useful. I don&#x27;t have a playstation and apparently you need one to remap the controller keys once before plugging it in to a PC, otherwise only 3 out of 8 buttons will send something that is recognized as USB HID<p>[0] <a href="https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=MtXdPWN6NBw" rel="nofollow">https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=MtXdPWN6NBw</a> [1] <a href="https:&#x2F;&#x2F;www.playstation.com&#x2F;en-us&#x2F;accessories&#x2F;access-controller&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.playstation.com&#x2F;en-us&#x2F;accessories&#x2F;access-control...</a>
评论 #41301214 未加载
gsliepen9 months ago
&gt; It works completely in hardware<p>No, it works completely in software, it&#x27;s just on a different CPU. Still neat though!
bb889 months ago
It turns out the RP2040 is turning out to be a really nice microprocessor.<p>The only thing missing is Wifi really.
评论 #41297296 未加载
评论 #41297250 未加载
hesdeadjim9 months ago
I always wonder with these things if game anti-cheat software will flag you based on the hardware identifiers not matching known manufacturers of peripherals.
评论 #41313508 未加载
评论 #41302050 未加载
anilakar9 months ago
I&#x27;ve been planning on turning an old ambidextrous Logitech Marble Mouse into a cheap CAD spacemouse and this might be just what I need.
bankcust083859 months ago
I don&#x27;t see the point except for rare fixed applications without admin OS access. Do it in software for free. Karabiner Elements etc.
评论 #41299356 未加载
评论 #41298602 未加载
sandreas9 months ago
I recently thought about using a cheap USB HDMI capture card (7 bucks) and a RP2040(7 bucks) to build a PiKVM like device.<p>Connecting the 2040 via serial emulating USB keyboard and mouse would make it possible to use older rasperry pi 3 devices for pikvm.<p>This project seems to prove that this is possible...
评论 #41301229 未加载
peterburkimsher9 months ago
I use an Apple keyboard on my work PC, but would rather use Command-C and Command-V instead of Ctrl-C and Ctrl-V.<p>This remapper should be able to remap the Command&#x2F;Windows key to Ctrl.
评论 #41298862 未加载
gsich9 months ago
Also useful if you want a 1000Hz mouse who doesn&#x27;t natively support it.
评论 #41300540 未加载