WhiteFox on TMK

User avatar
scottc

17 Jul 2016, 19:14

Sounds like bad switches. You should contact Massdrop since this is probably not anything to do with running TMK. Have you tried reflashing firmware and all the obvious silly things like that?

User avatar
TheNacho
delicious.

17 Jul 2016, 19:41

Reflashed the firmware, checked the soldering joints, re-soldered switches is what I tried so far. I already have a ticket open with MD

User avatar
matt3o
-[°_°]-

17 Jul 2016, 19:51

try to use TMK firmware, open config.h file and up the DEBOUNCE value by 1 or 2 points. See if that helps. what switches do you have?

User avatar
TheNacho
delicious.

17 Jul 2016, 20:04

matt3o wrote: try to use TMK firmware, open config.h file and up the DEBOUNCE value by 1 or 2 points. See if that helps. what switches do you have?
I was actually wondering if an option like that exists. Thanks for the hint, I will try that now!

Its purple Zealios

User avatar
TheNacho
delicious.

17 Jul 2016, 20:50

Alright, progress report. I turned the debounce setting up to 7, from 5 and so far I have not encountered any more chattering on the keys. Okay, scratch that, Its still there, but not as bad as it was before, so maybe I will try an 8 next. If that helps, I need to figure out, how to adapt the standard keymap, and turn it into one for the Aria layout, with all the function keys that I would like.

Thanks for the pointer matt3o. It would be an awesome feature, if the online layout configurator would also allow to set the debounce setting, and maybe also others.

I had chatttering twice while typing this.

User avatar
matt3o
-[°_°]-

18 Jul 2016, 09:02

depending on the switches I had too some chattering. The worst I had was on cherry MX clear. Hataa says he will be adding a debounce option to the firmware soon, but I myself am using TMK right now (debounce=6).

I have to ask Hasu if the debounce value is in milliseconds or cycles. Does anyone know?

User avatar
TheNacho
delicious.

18 Jul 2016, 14:36

Seems too long to be ms for me. I still have chattering on certain keys with a debounce of 9. Will try and switch these first, once MD responds, and then bring the debounce down step by step.

User avatar
matt3o
-[°_°]-

18 Jul 2016, 15:17

5ms is the default suggest by Cherry, but I have a feeling TMK value is expressed in cycles not milliseconds. 6ms seems fair enough to me. 10ms would be quite something, but still unnoticeable in everyday usage.

User avatar
TheNacho
delicious.

18 Jul 2016, 18:38

matt3o wrote: 5ms is the default suggest by Cherry, but I have a feeling TMK value is expressed in cycles not milliseconds. 6ms seems fair enough to me. 10ms would be quite something, but still unnoticeable in everyday usage.
At 9, I already feel as if some really short keypresses are not registered, but that could be purely subjective. If anyone else needs a TMK firmware built, since its a pain on Windows, let me know.

xtracted

18 Jul 2016, 20:58

Is it possible to change backlighting when pressing e.g. a Fn key?
I want to have some feedback when pressing my Fn lock key. Something like Capslock.

User avatar
matt3o
-[°_°]-

21 Jul 2016, 14:08

I updated my repo ( https://github.com/cubiq/whitefox ) to support the latest chibios, chibios-contrib and TMK. Surprisingly it works... you have to pull the code and update the submodules to take advantage of the bleeding edge code. Probably it's not a good idea, but if you like alpha stage software be my guest.
xtracted wrote: Is it possible to change backlighting when pressing e.g. a Fn key?
I want to have some feedback when pressing my Fn lock key. Something like Capslock.
yes that would be possible. you should look at flabbergast code to light the ENTER key LED in the main repository.

User avatar
TheNacho
delicious.

21 Jul 2016, 21:37

matt3o wrote: 5ms is the default suggest by Cherry, but I have a feeling TMK value is expressed in cycles not milliseconds. 6ms seems fair enough to me. 10ms would be quite something, but still unnoticeable in everyday usage.
Small update. I am at 9 and its unbearable at times. Short double keypresses do not register at all, and I still have chattering on others. Really hope MD answers my ticket soon ...

xtracted

21 Jul 2016, 21:39

matt3o wrote:
yes that would be possible. you should look at flabbergast code to light the ENTER key LED in the main repository.
Thanks for the hint I will have a look at his repo then.

User avatar
matt3o
-[°_°]-

22 Jul 2016, 00:33

TheNacho wrote: Small update. I am at 9 and its unbearable at times. Short double keypresses do not register at all, and I still have chattering on others. Really hope MD answers my ticket soon ...
like I said, I have a feeling the value is in cycles not ms. 6-7 is probably the max you can go. keep us posted!

User avatar
matt3o
-[°_°]-

22 Jul 2016, 17:08

it seems massdrop put it on sale again https://www.massdrop.com/buy/the-whitefox-keyboard

User avatar
scottc

22 Jul 2016, 19:50

It sounds like you're surprised. Do they have the right to do that without telling you?!

User avatar
matt3o
-[°_°]-

22 Jul 2016, 20:44

scottc wrote: It sounds like you're surprised. Do they have the right to do that without telling you?!
I do not confirm nor deny anything. Move on, nothing to see here. Next question?

User avatar
vinnycordeiro

30 Jul 2016, 03:51

Would this code work on a Teensy 3.x? IIRC it uses the same microcontroller as the WhiteFox.

User avatar
matt3o
-[°_°]-

30 Jul 2016, 08:10

no, not this code, but TMK should works on teensy 3

warrenc

16 Aug 2016, 22:17

Playing around with it I got most of what I had set up through the online configurator, but I'm still trying to get the screen brightness keys to work. There aren't any predefined KC_* screen+ or screen- codes, so I'm wondering if the way to do it is to either change stuff in TMK or if there is a canonical way of directly putting the key code into KEYMAP or via a fn_action. According to showkey, the keys are 224 and 225 (0xE0 and 0xE1, respectively), which appear to be used internally in tmk_core/keycode.h for KC_LCTRL and KC_LSHIFT.

Also, any ideas on how to get a flash key working similar to the option in the configurator or do we have to resort to the bottom button only if we use TMK?

User avatar
matt3o
-[°_°]-

17 Aug 2016, 09:37

I'm trying to figure out what is the best way to reduce/increase brightness, backlight is definitely not my priority so it might take some time :) The official firmware I believe does that with a little hack (overclocking the I2C communication between the MCU and the LED controller), on TMK the easiest is to set 3-4 pages each with a different brightness and switch from one another.

The "flash" key on TMK should be left shift + right shift + print screen

sachin3767

02 Sep 2016, 10:29

I am trying to test this out but got an error when i tried to compile the firmware. I am new to coding/ programming.

make: arm-none-eabi-gcc; No such file or directory

I am doing this on a Mac and already have XCode. I did clone the git and sync'd the chibios.

Edit: I should really google before posting... I found instructions on this page https://github.com/kiibohd/controller/wiki/Mac-setup

Post Reply

Return to “Workshop”