forum

Techkeys Mechanical Keyboard

posted
Total Posts
14
Topic Starter
srbz
Hey,

I am using the Techkeys Businesscard Mechanical Keyboard (http://www.open-electronics.org/guest_p ... -keyboard/) for playing osu! for a while now [since I dont need a whole mech. Keyboard, this board fitted my needs). Since rewriting the firmware I have issues which I couldnt solve so far.
The problem in osu!: When holding down my click key, it stays clicked as I do on my normal keyboard. But then (in more or less non regular intervals) it starts to reclick (sometimes once, sometimes more often) which leads to random drops when playing with this keyboard.

Is someone out there who is using the same keyboard without these problems? If so, would you mind to share the firmware?
Also someone who has similar problems?

For debugging purposes, here is the sourcecode for the main class: http://pastebin.com/QT4h3QB5

I dont mind uploading the other classes aswell if needed.

Thanks in advance
srbz
Deimos
You could either ask InnocentEyes or Sorun who also made a Techkey keyboard.

https://osu.ppy.sh/forum/t/243641/start=105
Topic Starter
srbz

Deimos wrote:

You could either ask InnocentEyes or Sorun who also made a Techkey keyboard.

https://osu.ppy.sh/forum/t/243641/start=105
Thanks I'll try that.
Foxi

srbz wrote:

Deimos wrote:

You could either ask InnocentEyes or Sorun who also made a Techkey keyboard.

https://osu.ppy.sh/forum/t/243641/start=105
Thanks I'll try that.
Sorun would know better than me, I was having issues too.
xasuma
Just to make sure I have all the right components:

List of materials:
http://techkeys.us/products/techkeys-ke ... iness-card
http://techkeys.us/products/keyboard-switches (x3)
http://techkeys.us/products/creeper-key (x3)
http://www.amazon.com/gp/product/B00PAB ... J54LHM0SGV


Is that it ?
And how do you load the firmware to it ?
Topic Starter
srbz

xasuma wrote:

Just to make sure I have all the right components:

List of materials:
http://techkeys.us/products/techkeys-ke ... iness-card
http://techkeys.us/products/keyboard-switches (x3)
http://techkeys.us/products/creeper-key (x3)
http://www.amazon.com/gp/product/B00PAB ... J54LHM0SGV


Is that it ?
And how do you load the firmware to it ?
Yeah thats basically it. You can load the firmware on it by shorting the 2 contacts close to the usb-plug (there tutorials on that on the web). When connected to the pc it makes the usb-disconnect sound. From that point on you got into reset mode for the firmware. By using some software (I think it was Flip from Atmel (the producer of the chip)) you can load on compiled firmware files. Actually quite easy and you can find enough information on https://geekhack.org/index.php?topic=53378.0 and other threads on geekhack.
xasuma
Awesome thanks, I ll build it soon then and see how it goes. I might mess with the code a bit too later on.
Shiroyuki
So for starters, there is little to no information for n00bs like us anywhere with regards to the TechKeys business card, which is really annoying because everyone assumes you know how to do something like this straightaway.
The only solution I have found is this:
https://geekhack.org/index.php?topic=51252.0

It will easily reprogram your keyboard for you, just select the TechKeys card from the list of keyboard layouts in the application.
However, I find that it will not turn on you LEDs for you automatically, as the author has not bothered to implement that.
As for the actual source code that has been uploaded, my knowledge of C is extremely basic having coded with Arduinos very briefly. If someone could fix the whole keys sticking without delay and slow presses that would be great.

For those of you who want a firmware pre-made in the above mentioned program:
http://puu.sh/dAYa8/2d851e8e1a.hex

It is bound to Z, X and ESC.

Feel free to ask any questions and I'll try to get back to you ASAP.\

EDIT: Updated the file because it was originally bound to Z, X, C :<

EDIT 2: For those of you who know what they're doing, the main_techkeys.c file without the excess (Hitting enter after every macro and checking to see if a colon is needed) is here: http://puu.sh/dAZNv/9768949cb7.c

At the moment all it is capable of doing is spamming, however what I'm aiming for is for it to function like a regular keypress with a delay.
Sorun
PMed you. Don't think i'll be much help for this particular problem.
Topic Starter
srbz

Sorun wrote:

PMed you. Don't think i'll be much help for this particular problem.
By some funny coincidence the hex from you binds the right and middle key to volume up and mute (dont have soldered the left key yet so far (ordered 3 keys of which 1 was broken)). So I dont know if yours work.
Also tried that one from Shiroyuki and it kinda worked. Just rebinding the keys and recompiling to see if it works.
EDIT: Spamming the keys certainly wont work hue :)
Thanks so far.
Shiroyuki

srbz wrote:

Sorun wrote:

PMed you. Don't think i'll be much help for this particular problem.
By some funny coincidence the hex from you binds the right and middle key to volume up and mute (dont have soldered the left key yet so far (ordered 3 keys of which 1 was broken)). So I dont know if yours work.
Also tried that one from Shiroyuki and it kinda worked. Just rebinding the keys and recompiling to see if it works.
EDIT: Spamming the keys certainly wont work hue :)
Thanks so far.
Final file: http://puu.sh/dQBXn/396b55588c.c
Bound to Z, X and ESC.
LEDs light up when pushed, turned off when inactive. Still trying to find a way to make the LEDs light up constantly, but at the moment it looks like its tied in with the key function.
Topic Starter
srbz

Shiroyuki wrote:

Final file: http://puu.sh/dQBXn/396b55588c.c
Bound to Z, X and ESC.
LEDs light up when pushed, turned off when inactive. Still trying to find a way to make the LEDs light up constantly, but at the moment it looks like its tied in with the key function.
This is great! (For now I dont care about the LEDs at all) I works how it was intended to be. No more slider drops!
Thanks! :)
Shiroyuki
No worries. Feel free to distribute if needed.
Hantsu Trash
Where do I put the LED on? and the code has everything needed for LED? Thx for thread
Please sign in to reply.

New reply