donn / nudelta

Open source NuPhy Console alternative
GNU General Public License v3.0
503 stars 22 forks source link

Share your dumps! #42

Open donn opened 1 year ago

donn commented 1 year ago

EDIT: Thank you all! Just need to find the time now. :)


So, with Nudelta 0.6.7, I added a new CLI flag named --no-verify/-N. This will allow you to provide data dumps from other keyboards so I can mess around with them.

I'm looking for dumps from the following keyboards:

You will need terminal experience and the ability to build Nudelta from source, but the commands to run are as follows:

./nudelta -N -D win.bin -H win.hex
./nudelta -NM -D mac.bin -H mac.hex

Then I'd like you to just zip up the files and upload them.

DimaD commented 1 year ago

Here is a dump from my Air60

Air60-dump.zip

Weathercold commented 1 year ago

Can I use 0.6.7 instead of building from source?

bjungs commented 1 year ago

Here is a dump from my Air60

Air60-dump.zip

Beat me to it!

donn commented 1 year ago

@Weathercold Nope :( I don't include CLI builds with the GUI apps.

TheNewCivilian commented 1 year ago

Dump of my Halo 65: Halo65-dump.zip Happy Hacking (:

enkidu-jones commented 1 year ago

Hope this worked correctly, but here's my dumps for Mac Air96… Air96mac.zip

daafisch commented 1 year ago

I think I did this right. Air96 dumps from a Windows 10 machine.

air96_win.zip

bjungs commented 1 year ago

Hey @donn , is there anything else we can do to assist?

Thanks again for the great work!

gabrielsoldani commented 11 months ago

Here's the dump from the original bindings for my Air60. Taken on Windows 10. air60-win-mac-wired.zip

I've managed to swap Esc and Fn+Esc behavior (I use grave/tilde much more frequently than Escape):

Using the Windows layer:

  1. Dumped the keymap using nudelta.
  2. Used NuPhy Console to map Esc to virtual key Grave/Tilde.
  3. Noticed offset 029c changed from 00 00 00 29 to 00 00 00 35. Hyphothesis:
    • 029c is the offset used by physical Esc presses.
    • 00 00 00 29 represents virtual key Escape.
    • 00 00 00 35 represents virtual key Grave/Tilde.
  4. Noticed offset 035c was originally 00 00 00 35. Hyphothesis: If 00 00 00 35 represents virtual key Grave/Tilde, 035c is the offset used by physical Fn+Esc presses.
  5. Patched the binary file such that 029c contains 00 00 00 35 and 035c contains 00 00 00 29 (swapped their values).
  6. Patched main.cpp to bypass verification when writing binary keymaps to the keyboard with nudelta -L.
  7. Wrote the modified keymap to the keyboard.

It worked.

The only other layout changed I'm interested in is making the Fn key behave like the Air75 does in macOS mode (it triggers the virtual Globe key if nothing is combined), but I could help development if we could add support for Apple Silicon (I had to dig up my x86-64 PC for this and it was quite slow to work in :/)

lyc2345 commented 9 months ago

Halo65-dumps.zip

I using both commands on my MacBook M2 chip, Do I need to switch to Windows to dump both win.bin and win.hex?

donn commented 9 months ago

No, that's fine. Thank you all again for the dumps- I'm still extremely busy but will take a look when I get some room to breathe :(

Bellavene commented 2 months ago

Any progress?

donn commented 2 months ago

Between a physical office job and my MSc I have very little time on work on Nudelta these days. I was working on just a cleanup release but even that ended up eating into whatever little free time I had. I appreciate everyone's patience…

DimaD commented 2 months ago

@donn, don't stress it out and take care of yourself! Open source burnout is real and terrible. There is no shame or anything bad in taking time off to take care of oneself, or taking things slowly.

Thank you for what you have done already too :)

Bellavene commented 2 months ago

I agree with DimaD, take care. And don't work to death. It's all fuss of the fusses anyway.

toineenzo commented 1 month ago

I'll try it with my Halo96. Hmmm I can't figure out how to build NuDelta from source. Stuck at the following: image

donn commented 1 month ago

@toineenzo If you have another package.json higher up in the hierarchy (such as in user), yarn will prioritize it

toineenzo commented 1 month ago

@toineenzo If you have another package.json higher up in the hierarchy (such as in user), yarn will prioritize it

Thank you, I'll check and try again. Update: Fixed it, somehow my whole package.json got emptied lol. Will post my dumps for both windows and mac

toineenzo commented 1 month ago

@donn Here you go! Windows 11, Halo96 wired. Halo96-win-dumps.zip Had to 'cd' into "C:\Users\user\nudelta\build\Release" to get it to work Also, is it required to first do a reset before exporting a dump by doing FN + X + B ? FYI it gave the following output C:\Users\user\nudelta\build\Release>nudelta -N -D win.bin -H win.hex Found NuPhy Air75 at paths (\\?\HID#VID_05AC&PID_024F&MI_01&Col06#8&1f499069&0&0005#{4d1e55b2-f16f-11cf-88cb-001111000030}, \\?\HID#VID_05AC&PID_024F&MI_01&Col05#8&1f499069&0&0004#{4d1e55b2-f16f-11cf-88cb-001111000030}) (Firmware 0110) Wrote current Windows keymap to 'win.bin'. Wrote current keymap in hex format to 'win.hex'.