1

I'm trying to create an onscreen keyboard that matches the physical keyboard. I know that I can send keyboard events for a particular CGKeyCode; that a key code corresponds to a physical key rather than to an input character, and that that I can use this answer to find out what key it is; but how do I find out the physical position of that key? Is it possible to read out which row it's in and what index it is in in that row?

Community
  • 1
  • 1
Simon
  • 25,468
  • 44
  • 152
  • 266

0 Answers0