As a fun side project, I have decided to make my own keyboard using an Arduino pro micro. It's been going fairly well but recently I have hit somewhat of a roadblock. I have tried everything I can think of, but I can't find any way to toggle a key on and of. I want it to function like a caps lock but for ctrl, meaning that you press it once and it holds down control until you press it again. Does anyone have any solution to this issue?
Thanks in advance