Hacker Newsnew | past | comments | ask | show | jobs | submit | sulicat's commentslogin

Still the same HID remapping project from last month (I was hoping to be done by now, but hardware is hard): https://github.com/cedarhacks/HIDMorph

This is an HID ReMapping device, things like converting keyboard input to joystick input, or adding macros to specific inputs.

The usage is:

- It has 1 USB in and 1 USB out.

- In programming mode it's a USB drive you can put LUA scripts on (or pull out log files).

- In run mode you can select a LUA script to run.

- Scripts can read incoming mouse/joystick/keyboard data and generate outgoing mouse/joystick/keyboard data or even just log events onto a CSV file.

The code is functional, I still want to polish it and add fun animations and stuff, but for now it works as described above.

This month has been mostly mired in a PCB rework and assembly in the US. Assembly with JLCPCB is too expensive for now, so I have been spending the last few weeks sourcing components in an attempt to keep costs down. I changed the PCB a bunch as well to make assembly and case design easier

While I don't really plan on selling this, I wanted to challenge myself and make it sell-able by keeping costs really low. This has been the real challenge and time sink recently.

It is fully open source, once complete I will export a parts list and Gerber files so people who wanna make one can just use those files.


Ive dabbled in a bit of all of this, and let me say, good luck! Sounds interesting.

Unfortunately, USB is hot garbage imo. The USB-IF, really screwed up USB, especially with all the power negotiation bullshit that has to happen now. Thanks to their ever changing USB3.x super premium plus ultra megaspeed crap that they keep doing, i ended up giving up on a multi-year usb project. Because of their changes, i would have had to change my entire build, and have to mitm usb devices, which i explicitly built my device to avoid. And then theres the USB-C cable, and the stupid process of negotiation and the power cable active crap, just... uhg, i hate usb after going down that rabbit hole.


Yeah I feel that! This is why I stuck with HID and MSC parts of the protocol. And tinyUSB is a little difficult to work with too (though I can't complain, its free and works well!). But yeah I'm glad to be almost done with USB haha.

This is a great project! Thanks for tackling it!


This is pretty cool, I asked it to visualize national import/export data, it did alright.

I was hoping to get a map with arrows like "$35B in agriculture" from China to USA. I wasn't able to make it do that, but the information was still there presented in a reasonable way!


I'm probably one of the people that would say AI (at least LLMs) isn't all its cracked up to be and even I have examples where it has been useful to me.

I think the feeling stems from the exaggeration of the value it provides combined with a large number of internal corporate LLMs being absolute trash.

The overvaluation is seen in effect everywhere from the stock market, the price of RAM, the cost of energy as well as IP theft issues etc etc. AI has taken over and yet it still feels like just a really good fuzzy search. Like yeah I can search something 10x faster than before but might get a bad answer every now and then.

Yeah its been useful (so have many other things). No it's not worth building trillion dollar data centers for. I would be happier if the spend went towards manufacturing or semiconductor fabs.


Lol you made me think my power bill has gone up but I didn't get a pay rise for my increased productivity.


Looks really nice! It looks real professional!

Is there an ESP on there? Are you using lvgl for the display?


Thanks!

We planned to use ESP, but turned out it needs a lot of energy, so we are using nrf52840 MCU. Yes, we are using lvgl! Such a nice library!


I'm making an HID translation dongle.

In programming mode, its a flash drive you can put LUA scripts on.

In run mode, you can select a lua script to run. Lua scripts can take HID input and produce HID output.

All open source, hardware and software: https://github.com/cedarhacks/ReMapper

It can do things like keyboard -> joystick mapping, key logging, macros, mouse wiggling etc etc


Hey cool! I've been wanting something like this for a while.

Would it be able to take multiple inputs?


There's plans for a future iteration to be able to (I want to decouple multiple keyboard inputs!).

However in the git repo and prototype, ATM it's 1 input 1 output.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: