-
-
Notifications
You must be signed in to change notification settings - Fork 40.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to use bluetooth on HHKB? #1096
Comments
I'm seeing the same thing here. Seems as though the rn42 (the BT radio) specific support only exists in tmk. (see https://github.com/tmk/tmk_keyboard/tree/master/keyboard/hhkb/rn42) |
Well uh, that sucks. I didn't realize that. What sort of work would need to be done in order to get qmk support for the rn42? |
Just for reference, I too can confirm that I'm having the same problem. I'm able to get the keyboard to pair, keys just aren't registered. This is for macOS 10.12.5 (16F73). I would be willing to put some work in to get this fixed, I would just need a few pointers to make it happen. |
Well, fwiw, I managed to cram the rn42 code into the qmk hhkb source tree and get everything linked up correctly. At least, it's working well enough that I'm posting this via BT using my freshly built firmware! :) I think I'll have a little time over the next couple days to clean it up and submit a proper PR. Stay tuned. |
Let me know if theres anything I can do to help. I can demo it on my board for a few days if you'd like. |
@uberjay any updates on this one? Do you have a private repo with these changes? |
Ok, I cleaned up the changes a little, and pushed my bits to a branch. If you check out the https://github.com/uberjay/qmk_firmware/blob/hhkb-rn42-from-tmk/keyboards/hhkb/rules.mk#L58 |
Hi @uberjay, I quickly checked the integration, and I didn't find any major problems, so I suggest that you create a pull request. The question is do we want to make this hhkb specific? I think not, and in that case the code should be moved to |
Hey @fredizzimo -- thanks for taking a look at it! That's one of the questions I had, too, but I didn't know enough about the hardware (or the software, really :) to make that call. What I can say is the rn42 support in https://github.com/tmk/tmk_keyboard is in the keyboard/hhkb directory. Perhaps @tmk can shed some light on this? Another thing that gave me pause was finding a handful of references to other rn42 support in the tmk_core bits, introduced in commit 71da013 just a couple months ago. But the changes aren't very extensive, so it's not clear to me if they should have worked. I tried building a stock qmk with |
Ohhh, interesting. After poking around and reading about the HC-05 module referenced in that commit, I see that this is actually for supporting a different module that's been re-flashed with firmware previously extracted from an rn-42 module... so given all that, I have no idea if the existing code changes in, e.g., 71da013#diff-81c48611e68de700597fb5c837914039 should work with the actual rn42 module in hasu's hardware, or... yeah. I'm totally in over my head here. grin |
I can confirm that @uberjay's aforementioned branch works with my wireless hasu controller. Nice job! |
Nice! Yeah, I'd love for this to be a core feature that others could include in their projects, but just having it for the HHKB is a good start :) |
Something to note for awareness, I'm not complaining here :D, but the size of the build is quite large including rn42. This is to no surprise. With my layout I'm getting a build size of about 96% of the alotted memory for the controller. I ended up having to remove tapdance and unicode from my keymaps in order to get this to work, which is totally fine (I was planning on removing td anyway). On another note: @uberjay can I buy you a beer? DM me on twitter @dietztweetz so I can send you some beer money. |
Sorry to bump this, but are there any plans for this to be merged in? |
I'm going to try to clean this up and get a PR together over the weekend! |
Any updates on this feature? edit: Applying the changes in uberjay's branch still works, should I just make a PR with his raw changes? As the commit said, it seems to work fine but it might not be integrated into qmk correctly |
Still looks like this works. If somebody can still confirm that this works on an updated version, and make a PR, that would be awesome |
Totally forgot about this haha It still works, just made a PR |
Question: For the hhkb, is the RN42 the controller, or is it just a BT module connected to the controller? If the latter, would this make it possible to set up BT on any keyboard using an RN42 module? |
Hi @BenKesselring |
Thanks for the info! That's great news.
…On May 10, 2018, 11:32 -0600, shela ***@***.***>, wrote:
Hi @BenKesselring
The latter. cf. https://github.com/tmk/HHKB_controller/blob/master/schematic/HHKB_controller_revG.pdf
You can use RN42 module to set up BT, but it needs some knowledge about hardware hacking.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Looks like this can be closed. If not, please reopen. |
* Fix lfkeyboards/smk65/revb default keymap * Update lfkeyboards_smk65_revf_default.json
I just flash QMK to my HHKB, the problem is when I try to use the keyboard via bluetooth it doesn't register any keys (I connect it to my android phone) even though it's paired and connected. Before using QMK, I use TMK and the bluetooth works just fine. Any idea to solve this? I use Hasu BT Alt Controller Thanks
The text was updated successfully, but these errors were encountered: