Cocoa event handling in fullscreen

2009-05-19 Thread Christopher Hansen
Hello, I'm writing a fullscreen game using Cocoa. I need to intercept mouse and key events for my game's usage, but I'd also like to forward them on appropriately if my game code doesn't handle them specifically (e.g., adjusting volume, screen brightness, opening the CD/DVD ROM drive,

Re: Cocoa event handling in fullscreen

2009-05-19 Thread Christopher Hansen
. Christopher From: Alexander Spohr a...@freeport.de To: Christopher Hansen christopher.han...@yahoo.com Cc: cocoa-dev@lists.apple.com Sent: Tuesday, May 19, 2009 3:00:20 PM Subject: Re: Cocoa event handling in fullscreen Christopher, you could use an NSView

Re: Cocoa event handling in fullscreen

2009-05-19 Thread Christopher Hansen
Thanks, Douglas. That helps. Christopher From: douglas welton douglas_wel...@earthlink.net To: Christopher Hansen christopher.han...@yahoo.com Cc: Alexander Spohr a...@freeport.de; cocoa-dev@lists.apple.com Sent: Tuesday, May 19, 2009 5:59:33 PM Subject: Re

Re: LMSetKey[Rep]Thresh

2009-05-18 Thread Christopher Hansen
the only one on the team currently that has Mac OS programming experience. This approach makes a lot of sense to me. Thank you, Christopher From: Chris Hanson c...@me.com To: Christopher Hansen christopher.han...@yahoo.com Cc: Cocoa-dev@lists.apple.com Sent: Monday

NSEvent virtual keycodes

2009-05-18 Thread Christopher Hansen
Hello, The NSEvent Reference documentation for the keyCode method states that the value returned is the same value returned in the kEventParamKeyCode when using Carbon Events. Are the virtual key codes available in a Cocoa-based header? The only virtual keycode definitions I've been able to

Re: NSEvent virtual keycodes

2009-05-18 Thread Christopher Hansen
: Monday, May 18, 2009 9:08:08 PM Subject: Re: NSEvent virtual keycodes On Mon, May 18, 2009 at 10:44 PM, Christopher Hansen christopher.han...@yahoo.com wrote: The NSEvent Reference documentation for the keyCode method states that the value returned is the same value returned

Re: LMSetKey[Rep]Thresh

2009-05-17 Thread Christopher Hansen
the rendering layer from the application/event handling layer -- to use Cocoa for my rendering. Christopher From: Sean McBride cwat...@cam.org To: Christopher Hansen christopher.han...@yahoo.com; Cocoa-dev@lists.apple.com Sent: Sunday, May 17, 2009 9:40:29 PM

LMSetKey[Rep]Thresh

2009-05-14 Thread Christopher Hansen
Hello, I'm writing a game and I need to set the key and key repeat thresholds in my Cocoa application. The functions needed to do to this under Carbon (Events.h) are: LMGetKeyThresh LMSetKeyThresh LMGetKeyRepThresh LMSetKeyRepThresh I'm looking for the Cocoa equivalents. Thank you,