I scan 68 keys with 9 I/O pins -1 I/O * output, 8 I/O * input. If you press more keys > 1 you need to fix the errors in your program (Python: if K2.value==False and K8.value==True:)This system is not good for gaming keyboard.
Test ws2812b mini (3535) with PIC12F1822 32MHz internal
Now I use RP2040 (PI PICO) + CircuitPython +Thonny ( IDE )
I love mechanical keyboard and always recommended Gateron oil king linear switches you should also use for gaming or typing https://mechswitcher.com/gateron-oil-king-linear-switches/
I'm not use a led but knob is good idea , what You think about this layout ? https://klawiatura.wordpress.com/ I hate altgr but in my language I have more chars than latin
This is my first keyboard design and the action ending on elecrow.com (5pcs pcb 10$) so I missed the knob. Layout is nice but i key caps for my language(Slovak) is hard find
I love mechanical keyboard and always recommended Gateron oil king linear switches you should also use for gaming or typing https://mechswitcher.com/gateron-oil-king-linear-switches/