Author Topic: Help converting Sun type-4 keyboard with TMK. Where is the type-4 keymap?  (Read 2599 times)

0 Members and 1 Guest are viewing this topic.

Offline PancakeMSTR

  • Thread Starter
  • Posts: 491
Hi,
So I've got a sun type-4 clone I'm trying to convert to USB. I've successfully flashed a pro micro with firmware from the tmk project, following the instructions for the sun_usb converter (https://github.com/tmk/tmk_keyboard/tree/master/converter/sun_usb).

Here's the thing, the page says this will work with a sun type-4, which it does...sort of. I flashed the firmware and installed the pro micro and the keyboard does mostly work, but a number of keys don't do anything. Additionally, I'd like to set a few other working keys to have different functions.

The problem is I can't find the type-4 keymap in any of the files in the repository. So I have the following options

- Find the sun type-4 keymap
- Make a type-4 keymap

I'm fine with making my own, but I'm not familiar enough with TMK to get it to work. I don't know how to tell it to use my keymap when compiling the hex file, and also I'm frankly not totally sure how to write the keymap correctly at all. Looking at the keymap.c file, there is a lot of stuff I don't really understand.

- What is all the short-type stuff at the bottom?
- How do I make macros?

I dunno. I don't have super clear questions. I could just use some guidance. Thanks.
   

Offline PancakeMSTR

  • Thread Starter
  • Posts: 491
Still could use some help with this.
   

Offline ErgoMacros

  • Posts: 313
  • Location: SF Bay Area
Re: Help converting Sun type-4 keyboard with TMK. Where is the type-4 keymap?
« Reply #2 on: Tue, 19 November 2019, 00:59:12 »
Hi,
Have you seen the Sun manual?
http://kentie.net/article/sunkbd/KBD.pdf
Today's quote: '...“but then the customer successfully broke that.”