Author Topic: Programming KMAC2  (Read 9769 times)

0 Members and 1 Guest are viewing this topic.

Offline metalliqaz

  • * Maker
  • Thread Starter
  • Posts: 4951
  • Location: the Making Stuff subforum
  • Leopold fanboy
Programming KMAC2
« on: Sun, 03 March 2013, 01:45:33 »
We really need a plain english, definitive guide to programming the KMAC.  Thanks to Sherry there are going to be a lot of them around here and frankly it is absurd how difficult it is to find information.

Let's start with logging in to the keymapper program.  By now it is well known that you need to have a kbdmania account.  I have and I know my password because I can log in to the website without trouble.

However, KMACS.exe gives me an error message that I can't translate.  Can anyone please let me know what this means?  Thanks.



Okay I got the updated version of the software that doesn't require a login.  On to the next issue.

The Key Map software doesn't come with a wikeyless layout.  Does anyone know what columns the bottom row covers?

Added procedure below.

And new problem: Volume Up/Down, Light Up/Down, and Function Toggle don't work at all.  Anyone get them to work?
Not supported on Windows with KMAC
« Last Edit: Sun, 03 March 2013, 22:33:55 by metalliqaz »

Offline metalliqaz

  • * Maker
  • Thread Starter
  • Posts: 4951
  • Location: the Making Stuff subforum
  • Leopold fanboy
Re: Programming KMAC2
« Reply #1 on: Sun, 03 March 2013, 01:46:04 »
Step-by-step instructions of how I updated my KMAC2 winkeyless to use the right GUI key as Fn.

  • Download and install FLIP from atmel.com
  • Download and unzip the KMAC standalone software from kbdmania
  • Remap the key map and the "Funktion" key map using the table below for the bottom row
  • Use the "Export" button to save my configuration to KMAC2.xml
  • Use the "Make Hex" button to turn it into a programmable binary
  • Unplug KMAC and plug back in while holding CAPS LOCK to put it in programming mode (make sure to have another keyboard handy)
  • (only the first time) Go to device manager and find ATMEGA device with no driver
  • (only the first time) Update the driver manually with this location:  C:\Program Files (x86)\Atmel\Flip 3.4.7\usb
  • Use the "Run Flip" button
  • Use the "Select Device" option in FLIP and select the ATMEGA32U4
  • Use the "Select a communication medium" option and choose USB, then Open
  • File->Load Hex File...  and select the KMAC2.hex that I just made
  • Press the "Run" button and let it finish
  • Press"Run Application" to reboot the KMAC
  • Enjoy and give props to the KMAC team!

Bottom row for "Winkeyless" KMAC
Left CtrlCol 0
Left WinCol 1
Left AltCol 2
SpaceCol 5
Right AltCol 8
Right Win (Fn)Col 10
Right CtrlCol 13

Note: Remember that Fn has to be on the same key in both layers!
« Last Edit: Sun, 03 March 2013, 23:27:38 by metalliqaz »

Offline calavera

  • Posts: 1713
  • Location: South Korea
Re: Programming KMAC2
« Reply #2 on: Sun, 03 March 2013, 02:05:31 »
It says login failed.

Offline WhiteFireDragon

  • Posts: 2276
    • youtube
Re: Programming KMAC2
« Reply #3 on: Sun, 03 March 2013, 02:31:35 »
Does the old program not work? It took me a while to figure out how to correctly program a KMAC LE for someone else.

Offline metalliqaz

  • * Maker
  • Thread Starter
  • Posts: 4951
  • Location: the Making Stuff subforum
  • Leopold fanboy
Re: Programming KMAC2
« Reply #4 on: Sun, 03 March 2013, 08:38:07 »
It says login failed.

This is troubling.  I am 100% sure I know my login information.  I just verified it again.

Offline SmallFry

  • ** Moderator Emeritus
  • Posts: 3887
  • Location: Wisconsin, USA
  • Leaving 6/15; returning 6/22 or so.
Re: Programming KMAC2
« Reply #5 on: Sun, 03 March 2013, 08:40:39 »
Oh. What is the directory that the program etc is in? Does it have any spaces?

Offline metalliqaz

  • * Maker
  • Thread Starter
  • Posts: 4951
  • Location: the Making Stuff subforum
  • Leopold fanboy
Re: Programming KMAC2
« Reply #6 on: Sun, 03 March 2013, 08:44:59 »
Already thought of that. C:\KMAC. 
What does the checkbox say?  It doesn't seem to make a difference but I'd like to know.

Offline SmallFry

  • ** Moderator Emeritus
  • Posts: 3887
  • Location: Wisconsin, USA
  • Leaving 6/15; returning 6/22 or so.

Offline metalliqaz

  • * Maker
  • Thread Starter
  • Posts: 4951
  • Location: the Making Stuff subforum
  • Leopold fanboy
Re: Programming KMAC2
« Reply #8 on: Sun, 03 March 2013, 08:54:28 »
Thanks SmallFry but none of that stuff helps me log in.  I'm going to go create another bogus account but I very much doubt it will help anything.

Offline TheProfosist

  • Posts: 3671
  • Location: Wisconsin, USA
  • Custom Layouts Only!
Re: Programming KMAC2
« Reply #9 on: Sun, 03 March 2013, 10:43:01 »
Did you wait the 3 days or what ever so you can actually use your account?

Offline metalliqaz

  • * Maker
  • Thread Starter
  • Posts: 4951
  • Location: the Making Stuff subforum
  • Leopold fanboy
Re: Programming KMAC2
« Reply #10 on: Sun, 03 March 2013, 10:57:47 »
My account is months old.  Does it work for you?

Offline WhiteFireDragon

  • Posts: 2276
    • youtube
Re: Programming KMAC2
« Reply #11 on: Sun, 03 March 2013, 13:11:06 »
I just checked, and I'm getting the same error. Can't log in either :/. This is really stupid, requiring a log in to use it. Sherry needs to bring this up to them to remove the log in crap.

Offline metalliqaz

  • * Maker
  • Thread Starter
  • Posts: 4951
  • Location: the Making Stuff subforum
  • Leopold fanboy
Re: Programming KMAC2
« Reply #12 on: Sun, 03 March 2013, 13:11:34 »
I just checked, and I'm getting the same error. Can't log in either :/. This is really stupid, requiring a log in to use it. Sherry needs to bring this up to them to remove the log in crap.

True dat.

Offline calavera

  • Posts: 1713
  • Location: South Korea
Re: Programming KMAC2
« Reply #13 on: Sun, 03 March 2013, 13:24:35 »
Already thought of that. C:\KMAC. 
What does the checkbox say?  It doesn't seem to make a difference but I'd like to know.

Checkbox is for auto log in.

Offline AKIMbO

  • HHKBro
  • Posts: 1778
  • Location: Tennessee
  • Know Topre, Know Peace. No Topre, No Peace.
Re: Programming KMAC2
« Reply #14 on: Sun, 03 March 2013, 13:40:00 »
I can't login either. This is odd....hope it gets fixed soon.
Mkawa Beta SSK | IBM SSK | IBM Model AT F | IBM F 122 | IBM Unsaver | LZ-GH (62g ergo clears) | HHKB Pro2 Type-S | HHKB Pro2 | Realforce 87U-Silent (55g uniform) | Leopold FC660C | Omnikey 101 (blue alps) | Kingsaver (blue alps) | Zenith ZKB2 (green alps)
| KBD75 (box reds)

Offline metalliqaz

  • * Maker
  • Thread Starter
  • Posts: 4951
  • Location: the Making Stuff subforum
  • Leopold fanboy
Re: Programming KMAC2
« Reply #15 on: Sun, 03 March 2013, 20:51:38 »
Okay, on to the next issue...

Offline AKIMbO

  • HHKBro
  • Posts: 1778
  • Location: Tennessee
  • Know Topre, Know Peace. No Topre, No Peace.
Re: Programming KMAC2
« Reply #16 on: Sun, 03 March 2013, 20:54:35 »
Did you get the log in issue resolved?

Never mind....just read the updated OP.
Mkawa Beta SSK | IBM SSK | IBM Model AT F | IBM F 122 | IBM Unsaver | LZ-GH (62g ergo clears) | HHKB Pro2 Type-S | HHKB Pro2 | Realforce 87U-Silent (55g uniform) | Leopold FC660C | Omnikey 101 (blue alps) | Kingsaver (blue alps) | Zenith ZKB2 (green alps)
| KBD75 (box reds)

Offline AKIMbO

  • HHKBro
  • Posts: 1778
  • Location: Tennessee
  • Know Topre, Know Peace. No Topre, No Peace.
Re: Programming KMAC2
« Reply #17 on: Sun, 03 March 2013, 21:02:49 »
In the kmac reprogramming application, if you press a key on the kmac you should see the corresponding key light up in the diagram of the kmac that is displayed in the reprogramming application.

« Last Edit: Sun, 03 March 2013, 21:04:57 by AKIMbO »
Mkawa Beta SSK | IBM SSK | IBM Model AT F | IBM F 122 | IBM Unsaver | LZ-GH (62g ergo clears) | HHKB Pro2 Type-S | HHKB Pro2 | Realforce 87U-Silent (55g uniform) | Leopold FC660C | Omnikey 101 (blue alps) | Kingsaver (blue alps) | Zenith ZKB2 (green alps)
| KBD75 (box reds)

Offline metalliqaz

  • * Maker
  • Thread Starter
  • Posts: 4951
  • Location: the Making Stuff subforum
  • Leopold fanboy
Re: Programming KMAC2
« Reply #18 on: Sun, 03 March 2013, 21:04:57 »
If you press the key on your kmac the diagram of the keyboard in the kmac hex file making program will light up red the key you are pressing.

Not happening.

Offline metalliqaz

  • * Maker
  • Thread Starter
  • Posts: 4951
  • Location: the Making Stuff subforum
  • Leopold fanboy
Re: Programming KMAC2
« Reply #19 on: Sun, 03 March 2013, 22:18:14 »
Updated again.

Offline TheProfosist

  • Posts: 3671
  • Location: Wisconsin, USA
  • Custom Layouts Only!
Re: Programming KMAC2
« Reply #20 on: Sun, 03 March 2013, 23:20:33 »
Can you please post the updated software?

Offline metalliqaz

  • * Maker
  • Thread Starter
  • Posts: 4951
  • Location: the Making Stuff subforum
  • Leopold fanboy
Re: Programming KMAC2
« Reply #21 on: Sun, 03 March 2013, 23:22:46 »
I did, see post two.

Offline codyeatworld

  • * Destiny Supporter
  • Posts: 944
  • Location: Bay Area, California
Re: Programming KMAC2
« Reply #22 on: Sat, 23 March 2013, 15:34:32 »
Will this work for the kmac1?

I ran into concern when selecting the device in flip. Is ATMEGA32U4 also correct for the kmac1?




Offline metalliqaz

  • * Maker
  • Thread Starter
  • Posts: 4951
  • Location: the Making Stuff subforum
  • Leopold fanboy
Re: Programming KMAC2
« Reply #23 on: Sat, 23 March 2013, 16:36:32 »
It should work for the KMAC1.  Yes, they have the same processor.

Offline codyeatworld

  • * Destiny Supporter
  • Posts: 944
  • Location: Bay Area, California
Re: Programming KMAC2
« Reply #24 on: Sat, 23 March 2013, 22:28:15 »
Thanks for confirming that. I successfully mapped my caps lock to be a winkey because I am in OSX a lot.




Offline litster

  • Posts: 2890
  • rare caps?! THAT'S A SMILIN
Re: Programming KMAC2
« Reply #25 on: Sun, 31 March 2013, 21:11:03 »
new KMAC keymap program.  This one doesn't require account and password:

http://geekhack.org/index.php?topic=30875.msg839072#msg839072

Offline metalliqaz

  • * Maker
  • Thread Starter
  • Posts: 4951
  • Location: the Making Stuff subforum
  • Leopold fanboy
Re: Programming KMAC2
« Reply #26 on: Sun, 31 March 2013, 22:03:04 »
Yes, that's the one from post 2.

Offline Bim Gao

  • Posts: 80
Re: Programming KMAC2
« Reply #27 on: Sun, 12 May 2013, 08:17:09 »
I get stuck in this step, cannot find "ATMEGA device"

7. (only the first time) Go to device manager and find ATMEGA device with no driver



Is that the "unknown device"? If yes, I cannot do the next step. Any different way to update?

Thanks

Offline Thechemist

  • Posts: 244
  • Location: East Coast USA
Re: Programming KMAC2
« Reply #28 on: Sun, 12 May 2013, 12:43:12 »
Yes, that's the one from post 2.

Great work, maybe add it to your signature or make it a sticky.

Offline codyeatworld

  • * Destiny Supporter
  • Posts: 944
  • Location: Bay Area, California
Re: Programming KMAC2
« Reply #29 on: Sun, 12 May 2013, 12:47:00 »

Is that the "unknown device"? If yes, I cannot do the next step. Any different way to update?

Thanks

It probably is the unknown device. You say the next step doesn't work, what happens?




Offline SmallFry

  • ** Moderator Emeritus
  • Posts: 3887
  • Location: Wisconsin, USA
  • Leaving 6/15; returning 6/22 or so.
Re: Programming KMAC2
« Reply #30 on: Sun, 12 May 2013, 13:14:23 »
I get stuck in this step, cannot find "ATMEGA device"

7. (only the first time) Go to device manager and find ATMEGA device with no driver

Show Image


Is that the "unknown device"? If yes, I cannot do the next step. Any different way to update?

Thanks
You've got to install the 32u4 driver. They are located in the FLIP program files, IIRC.

Offline calavera

  • Posts: 1713
  • Location: South Korea
Re: Programming KMAC2
« Reply #31 on: Sat, 25 May 2013, 20:45:23 »
edit: nevermind figured it out.
« Last Edit: Sat, 25 May 2013, 21:33:48 by calavera »

Offline laden3

  • Posts: 594
Re: Programming KMAC2
« Reply #32 on: Wed, 19 June 2013, 21:34:57 »
Can anyone tell how to create a macro.

or tell me the lines to set M1 as alt+f4.

and is it possible to create a numpad that works like the realforce 87?

thanks
I rrrove brrracks.

Offline tadbitnerdy

  • Posts: 294
  • Location: Charlestown, IN
Re: Programming KMAC2
« Reply #33 on: Thu, 27 June 2013, 10:39:19 »
So... umm, I just installed windows 8.  I also realized that Flip does not have a USB driver or windows 8.  Anyone know a way around this?

Thanks,

-Tad

Offline domoaligato

  • * Exquisite Elder
  • Posts: 1672
  • Location: USA
  • All your base are belong to us!
    • All your base are belong to us!
Re: Programming KMAC2
« Reply #34 on: Thu, 27 June 2013, 10:44:43 »
So... umm, I just installed windows 8.  I also realized that Flip does not have a USB driver or windows 8.  Anyone know a way around this?

Thanks,

-Tad

It does have a driver on windows 8
http://www.atmel.com/tools/FLIP.aspx

FLIP 3.4.7 for Windows (Java Runtime Environement included)
(21MB, updated August 2012)
Runs Windows 98/Me/NT/2000/XP/Vista/7/8

Offline domoaligato

  • * Exquisite Elder
  • Posts: 1672
  • Location: USA
  • All your base are belong to us!
    • All your base are belong to us!
Re: Programming KMAC2
« Reply #35 on: Thu, 27 June 2013, 10:49:34 »
Can anyone tell how to create a macro.

or tell me the lines to set M1 as alt+f4.

and is it possible to create a numpad that works like the realforce 87?

thanks

this page might help you.
http://www.nthelp.com/charts.htm

or this one.

http://www.win.tue.nl/~aeb/linux/kbd/scancodes.html


Offline tadbitnerdy

  • Posts: 294
  • Location: Charlestown, IN
Re: Programming KMAC2
« Reply #36 on: Thu, 27 June 2013, 11:00:24 »
That is the software, but the USB drivers that come with the software are only for windows2000 and windows xp.  These worked in windows 7, but they are not working in windows 8.  Software installs fine, but no drivers that work.