May be it will help to someone. In shrort, I bricked my IKBC c104 keyboard after trying to add a few LEDs to it.
So, step by step project:
1.The trace (crazy Chinese wiring of numpad, looks optimal isn't it ?)
Another look from Keyboard Firmware Builder
https://kbfirmware.com/2. I`v removed old micro-controller. For new one I purchased Teensy ++ 2.0.
3.Pins for rows: B0,B1,B2,B3,B4,B5,F0,F1
Pins for collumns: C0,C1,C2,C3,C4,C5,C6,C6,D0,D1,D2,D3,D4,D5,D6,D7,B7
Pins for numlock: F2,F3,F4
Backlight: B6 (For backlight you need pins with power modulation PWM, for brightness control)
Diode direction is Row to column.
4.After all settings I downloaded the hex file and flashed the Teensy with Teensy Loader
https://www.pjrc.com/teensy/loader.html5.LEDs. Num Lock, Scroll Lock, Caps Lock
Trace of LEDs for backlight looks like this:
I`v used one pin (B6) only for WASD.
Mini USB cable (optionally)
The final result
The end
Hope it was helpful.