geekhack

geekhack Projects => Making Stuff Together! => Topic started by: leizzer on Tue, 04 April 2017, 14:33:53

Title: Electroboard (keymapping desktop sw)
Post by: leizzer on Tue, 04 April 2017, 14:33:53
Hello guys,

I made my first keyboard at home and my girlfriend asked me for an easier way to define the keymap because she didn't want to touch the .c file and at the same time I wanted to learn new stuff.

So I worked on this for a while and this is the result:
Repository on github    https://github.com/leizzer/electroboard (https://github.com/leizzer/electroboard)

Windows download    https://drive.google.com/open?id=0B5iM8TQ7sHptcUhiZGJsM1AxLVE (https://drive.google.com/open?id=0B5iM8TQ7sHptcUhiZGJsM1AxLVE)
Linux download x64    https://drive.google.com/open?id=0B5iM8TQ7sHptYy1RNEZWMER3ek0 (https://drive.google.com/open?id=0B5iM8TQ7sHptYy1RNEZWMER3ek0)
Linux download ia32    https://drive.google.com/open?id=0B5iM8TQ7sHptY3c3dlVOTG4yaFE (https://drive.google.com/open?id=0B5iM8TQ7sHptY3c3dlVOTG4yaFE)
OS X download x64    https://drive.google.com/open?id=0B5iM8TQ7sHptaUFSZXBra2wxUkU (https://drive.google.com/open?id=0B5iM8TQ7sHptaUFSZXBra2wxUkU)

(https://raw.githubusercontent.com/leizzer/electroboard/master/images/screenshot.png)

For now it only uses the keycodes from TMK.
I know there are a few around the internet that do something similar to this, but they are online or don't accept custom matrix that was what I needed (and I wanted to learn,  always).

Please be patient if something doesn't work properly and submit a ticket or post it here.

Questions:
- Is this useful?
- How many of you use QMK instead?

Thanks~
PS: Windows version is on its way.
Title: Re: Electroboard (keymapping desktop sw)
Post by: Phenix on Tue, 04 April 2017, 15:30:29
Looks handy! QMK is imho superior, so I would say adding it is better.
Whats about eg foreign letters?
Title: Re: Electroboard (keymapping desktop sw)
Post by: leizzer on Tue, 04 April 2017, 15:50:00
Looks handy! QMK is imho superior, so I would say adding it is better.
Whats about eg foreign letters?

I used TMK because it's simpler and the ChibiOS implementation was there when I needed for my teensy 3.2.
But I'm going to implement QMK if I see more ppl need it (probably I'm gonna do it anyway because I have a Planck with QMK too).

You made a good point about foreign letters, I don't know how ppl handle it with TMK, I just used the list of keycodes that I found in TMK's repo. If you know more please tell me :)
Title: Re: Electroboard (keymapping desktop sw)
Post by: romevi on Tue, 04 April 2017, 15:53:00
I have a QMK board and use Windows.  :(
Title: Re: Electroboard (keymapping desktop sw)
Post by: Phenix on Tue, 04 April 2017, 15:56:21
Would say focus on windows support.
In QMK you add an #define keymap_german

then one can use custom codes like
DE_AE
DE_OE
Title: Re: Electroboard (keymapping desktop sw)
Post by: leizzer on Tue, 04 April 2017, 21:38:55
I'm gonna package it for Windows tomorrow but QMK support could take time.

I'll let you know when I have it.

Title: Re: Electroboard (keymapping desktop sw)
Post by: leizzer on Wed, 05 April 2017, 10:25:28
Would say focus on windows support.
In QMK you add an #define keymap_german

then one can use custom codes like
DE_AE
DE_OE

I added the Windows version

PS: Sorry for the post after post but I don't know if you get the notification if I edit myself. I'm gonna work on QMK during the weekend I think.
Title: Re: Electroboard (keymapping desktop sw)
Post by: Phenix on Wed, 05 April 2017, 10:37:53
Would say focus on windows support.
In QMK you add an #define keymap_german

then one can use custom codes like
DE_AE
DE_OE

I added the Windows version

PS: Sorry for the post after post but I don't know if you get the notification if I edit myself. I'm gonna work on QMK during the weekend I think.
I got an push up info as you quoted me via tapatalk
Title: Re: Electroboard (keymapping desktop sw)
Post by: leizzer on Mon, 10 April 2017, 17:18:38
Good news!

QMK support is on its way~

[attach=1]

I have to think in a way to parse keys with "MO()"  "MT()" and "M()"  :confused:

I didn't push it to github yet, I want to solve that part before doing it.

Question for Windows users:
  - In your keymap files, do you use Windows or Unix line endings?

Info: DOS uses carriage return and line feed ("\r\n") as a line ending, which Unix uses just line feed ("\n").
Title: Re: Electroboard (keymapping desktop sw)
Post by: romevi on Tue, 18 April 2017, 15:19:26
I guess I have Windows. Remember: I have no idea what I'm doing! But just glad to hear QMK support is on its way!  :p
Title: Re: Electroboard (keymapping desktop sw)
Post by: leizzer on Fri, 12 May 2017, 18:03:13
QMK support is here!!! I used it with my plank keyboard   :)

The import for QMK also works. The important thing here is that if you are importing an existing file you have to do some cleaning before importing it to Electroboard (the program). Also take note that for function calls, like MO(0) there is now keycode defined for that and you will have to write/edit it inside the text input.

Please, read the README file for more information https://github.com/leizzer/electroboard/blob/master/README.md (https://github.com/leizzer/electroboard/blob/master/README.md)

Here are some gifs for your eyes

Changing firmware, the matrix and layers
[attach=1]

Importing existing file
[attach=2]

Showing how you should put your functions and stuff into a separated keymap_common.h file and running make.
[attach=3]