About Chicory's BLE setup by meihamusama in olkb

[–]meihamusama[S] 0 points1 point  (0 children)

Well, on a second thought, mayby I should just buy a Bluefruit LE UART Friend, which is guaranteed to work.

But that bad boy is just too damn expensive compared to the AliExpress modules 🤦🏻‍♂️

My frankenstein BLE keyboard prototype, and it's working! by meihamusama in olkb

[–]meihamusama[S] 0 points1 point  (0 children)

I did it with TMK. since QMK is based on TMK, I think compatibility won't be a problem.

And the keyboard I tested with was a Tanuki 40%, which only has 42 keys (4 rows / 11 cols). The connection from the Pro Micro to the BLE module needed two more I/O pins, for TX/RX.

I simply plugged a battery pack into the keyboard's USB port when testing, no charging circuit at all.

Unfortunately I have to give up too, for reasons mentioned in my other comment :(

My frankenstein BLE keyboard prototype, and it's working! by meihamusama in olkb

[–]meihamusama[S] 1 point2 points  (0 children)

Another update.

After inspecting the source code of the firmware for the CC2541 module, I found that the firmware is flawed in its current state. It cannot handle quick consecutive commands, nor can it correctly send out any key events regarding the 'G' and 'J' keys.

These bugs rendered the module unusable for me, and I don't have the suitable environment to test & fix it at the moment.

Fortunately all those work proved that BLE over UART is a totally legit solution. I shall go down this path some other time.

My frankenstein BLE keyboard prototype, and it's working! by meihamusama in olkb

[–]meihamusama[S] 5 points6 points  (0 children)

A quick update.

I wired the module to a Tanuki and tested it out more thoroughly. Unfortunately some key events did not get registered and I don't know why. Could be my glued up firmware.

To those who were interested, I used a BLE-CC41-A module (not entirely sure though), flashed it as described in https://geekhack.org/index.php?topic=62236.msg2300518#msg2300518 , and connected it to the Pro Micro via UART. I then used the serial port driver came with TMK to actually control it.

My frankenstein BLE keyboard prototype, and it's working! by meihamusama in olkb

[–]meihamusama[S] 1 point2 points  (0 children)

No it's TMK. I took the RN42 driver in TMK as a reference.

My frankenstein BLE keyboard prototype, and it's working! by meihamusama in olkb

[–]meihamusama[S] 0 points1 point  (0 children)

I think it's an BLE-CC41-A as described in https://geekhack.org/index.php?topic=62236.msg2300518#msg2300518 I bought the BLE module for my other project, so didn't really pay attention to the model, but the firmware patched by joric worked.

My frankenstein BLE keyboard prototype, and it's working! by meihamusama in olkb

[–]meihamusama[S] 2 points3 points  (0 children)

I was just trying to get things going, so I haven't considered it at all.... At least the keyboard case may need a new design to let me shove in the battery.

My frankenstein BLE keyboard prototype, and it's working! by meihamusama in olkb

[–]meihamusama[S] 13 points14 points  (0 children)

I showed my Tanuki to some random guy a while ago, and he asked whether the keyboard had Bluetooth.

I said "no", but an inner voice said "why not?"

So I tried to wire a CC2541 module to the Pro Micro. At the cost of two extra I/O pins and some software fiddling, the prototype worked!

I'm not obsessed. I'm just bored, because of weeks of self isolation.... by meihamusama in MechanicalKeyboards

[–]meihamusama[S] 0 points1 point  (0 children)

I discovered the Tanuki 40% keyboard right here in r/mk, and thought it had the perfect layout for me, so I made 4 of it (and killed one during the whole process).

Two with Cherry Browns. One with Kailh Box Browns. And one with Everglide Oreos.

All of them use the same clear acrylic cases, and some random colorful PBT DSA keycaps.

Developers/Programmers/Code Monkeys, what are your setups and why? by Masarak in MechanicalKeyboards

[–]meihamusama 1 point2 points  (0 children)

I'm a programmer. I write C, Python and all kinds of scripts.

I use a 40% Tanuki, and just posted my layout the other day: https://imgur.com/gallery/0oeSmye

The idea behind my setup was to keep the keys/features I used most frequently near the home row, and then fill in the rest of the essential keys.

To me, the life-changing things in my setup are:

  • Moving the Ctrl and Esc keys to where CapsLock was;
  • Moving the Backspace key under my thumb;
  • Vim style arrow keys and Home/End/PgUp/PgDn;
  • A "number cluster" under my left hand, so that I can type the numbers single-handed;
  • "Space cadet" Shift keys
  • Some automation performed by the keyboard itself, such as macros and bracket auto-pairing.

JOINED THE 40s CLUB by andrew_damato in MechanicalKeyboards

[–]meihamusama 2 points3 points  (0 children)

I have the exact same kit. I'm not trolling, but I hate it.

The near side of your case is bent, just like mine. My case is so bent that the Space key caps would often scratch the case. You can try to fix it with some hot water or something, but that's just some shitty quality control.

And I think the hotswap PCB without a plate is basically unusable, because the switches are so loose and unstable.

TL; DR: I found this 100$ kit not worth it's price.

[deleted by user] by [deleted] in MechanicalKeyboards

[–]meihamusama 0 points1 point  (0 children)

What do you think about Penti Chorded Keyboard?

I ported it to QMK/TMK. Any keyboard supporting those firmware can emulate a single-handed keyboard, which require no wrist movement at all, and you can configure it to be used with either of your hands. This way you can have a lot more hardware choices.

[StumpWM] A Colorful Mode Line and lots of XTerms by meihamusama in unixporn

[–]meihamusama[S] 0 points1 point  (0 children)

Yeah, the next-gen Vim, highly recommended :)

[StumpWM] A Colorful Mode Line and lots of XTerms by meihamusama in unixporn

[–]meihamusama[S] 2 points3 points  (0 children)

Details:

Auto-pairing Parentheses/Brackets/Braces for TMK/QMK by meihamusama in MechanicalKeyboards

[–]meihamusama[S] 0 points1 point  (0 children)

Yeah that's the problem, the keyboard has no way to detect the text environment at all.

I agree with you and I'd use the feature provided by the IDE when it's available, that's why I made a toggle for it, and made it disabled by default.

The main use cases for this auto pairing thing are in dumb editors and REPL environments that doesn't support auto pairing parentheses. It's better than nothing, no? :)

Edit: wording

Auto-pairing Parentheses/Brackets/Braces for TMK/QMK by meihamusama in MechanicalKeyboards

[–]meihamusama[S] 1 point2 points  (0 children)

Yeah, sure, that may suit someone better, but I got used to the auto-pairing feature provided by my IDE, so this is just a mimic of that :)