How to access special functions from F1-F7 keys?

Discussion in 'Mac Programming' started by johnm23357, Mar 27, 2009.

  1. johnm23357 macrumors newbie

    Mar 27, 2009
    Greetings all. I am trying to write a program for a MAC keyboard emulator. This is usually an assistive device where the computers keyboard is not available only the mouse or joystick. A window with key buttons floats on top of other applications on the screen and the user can type into a text document by pressing the keys (buttons) with the mouse. A similar Keyboard emulator is part of the Windows OS.

    To date the program works fine and there is only one issue. Keys F1-F7 and F11 do not generate the typical key codes, Apple reassigned them to specific functions like dimming the display and turning up/down the Audio. I have searched my disk (USERS/LIBRARY) and can't find where the programs that are being run may reside, also there doesn't seem to be any documentaiton by Apple on them.

    Any help will be appreciated.
  2. gnasher729 macrumors P6


    Nov 25, 2005
    From memory: Either or has a series of articles about MacOS X programming, and one article was exactly about this subject. You'll have to do some searching.

Share This Page