geekhack Projects > Making Stuff Together!

TMK keyboard firmware

<< < (2/404) > >>


--- Quote from: jdcarpe on Wed, 03 April 2013, 20:43:14 ---Do you have any instruction on how to make a Fn layer toggle on and off, rather than only switching layers while a Fn key is pressed?

I really like your FW!

--- End quote ---
Thanks! Updated keymap document and my fist post with hoping this helps you and other.

--- Quote from: nano on Thu, 04 April 2013, 03:15:00 ---As Iíve said before in the gh60 thread, that code is plain awesome and understandable. I really like your how you implement the keymap and how easy it is to make it fit your own needs.

Iíve already forked your repo here and started toying around a bit ;D

--- End quote ---
Looks great. Impressive keymap :) I'll look into it later.
Happy to see someone forks my code and starts his own project!

Hi agodinhost,
My terminology 'host side' may be a bit confusing because in my firmware keyboard and converter projects share same core base.
Keyboard projects have a USB protocol(host side) to communicate with host while converters have 'keyboard side' protocol such as PS/2, ADB, ... to hook up to target keyboard in addition to 'host side' protocol.

You are right. It is totally a slave or client, neither server nor host.
With this 'host side protocol' module l wanted to mean a client implementation of BT HID in keyboard firmware. Confusing :)
While 'keyboard side protocol' module means host side implementation of the keyboard protocol.

--- Quote from: agodinhost on Thu, 04 April 2013, 09:27:52 ---Hi Hasu, thanks very much for this opportunity to learn more about your firmware
and thanks very much for sharing it!

--- Quote from: hasu date=2013-04-03 ---You'll have to write a 'host side protocol' module to add support for BT HID.

--- End quote ---
I didn't understood why we will need a "host" side module. It wouldn't be one simple slave? (according to what I saw at the Bluetooth HID Lite documentation).

--- Quote from: hasu date=2013-04-03 ---My firmware has a module using Bluegiga iWRAP4 for BT(and V-USB for USB), you can find this under protocol/iwrap/ directory. But it is very old code and not supported actively now. I don't know even whether it works with new updated firmware base. Though, I think it is still a good start point for BT module. Also LUFA 'host side protocol' module will be worth looking into. It is located on protocol/lufa/.

--- End quote ---
Yup I saw both of these folders there. I'll have to buy this BlueGiga module to test it further - just waiting for the best day of my credit card. I were already planning to get one of these and the RN-42 anyway.

--- End quote ---

Hey, hasu. Excellent firmware, and I wanted to thank you for all the work that you have put into it. I am extremely impressed to see how easy it is to re-configure the layout.

I am having an issue understanding how to add keys to the layout though. I've tried to add keys by changing out NO with K31 and K3C respectively in keymap.c. Then I added a keystroke for each of the keys in keymap_poker.h .
Anyway, it's safe to say that I couldn't figure it out by myself, so I am asking for help =).

Hi, Glissant.
I assume you are talking about GH60 keymap and you want to define KEYMAP_ISO() instead of KEYMAP_ANSI().

To define the macro you'll also need to add K31 and K3C in first part in addition to replace NO with those keys in second part.

--- Code: ---#define KEYMAP_ISO( \
... first part ...(arguments)
... second part...(definition)

--- End code ---

Or you can define all keys available on GH60 with KEYMAP() macro.

Hasu =),
I actually just want to turn my shift keys into two keys. But I'll look into it again after work =). Look at my latest gh60 pictures in the Post your GH60-thread to see the key setup.  I'll link it here if need be but it will have to be after work.


I finally figured it out. I had to add my new keys to all of the KEYMAP() macros in keymap.h, which makes perfect sense.
This firmware is almost just too perfect. Thanks again!


[0] Message Index

[#] Next page

[*] Previous page

Go to full version