[joypad] device driver like
Someone know if is possible to control the joypad buttons (like left, right, up...) with a mac or other framework ???
Iam asking for a method to perform the action of buttons pressed...
-Crhis.
Re: Cocoa change main menu
NSApplication has a method:
-(void)setMainMenu:(NSMenu *)aMenu.
You can pass it a reference to the correct menu in the appropriate window controller, by implementing
-(void)windowDidBecomeKey:(NSNotification *)notification.
Keep in mind it may be easier to change just the submenus instead of swapping out the entire main menu, since you won't have to maintain two different copies of the application, help, and other menus that won't change between the two windows.