Re: Cocoa event handling in fullscreen

2009-05-19 Thread Christopher Hansen
Thanks, Douglas. That helps. Christopher From: douglas welton To: Christopher Hansen Cc: Alexander Spohr ; cocoa-dev@lists.apple.com Sent: Tuesday, May 19, 2009 5:59:33 PM Subject: Re: Cocoa event handling in fullscreen Nothing stops you from starting up in

Re: Cocoa event handling in fullscreen

2009-05-19 Thread Christopher Hansen
fullscreen. Christopher From: Alexander Spohr To: Christopher Hansen 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 subclass going into fullscreen

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, Command-

Re: NSEvent virtual keycodes

2009-05-18 Thread Christopher Hansen
:08:08 PM Subject: Re: NSEvent virtual keycodes On Mon, May 18, 2009 at 10:44 PM, Christopher Hansen wrote: > 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

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: LMSetKey[Rep]Thresh

2009-05-18 Thread Christopher Hansen
#x27;m 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 To: Christopher Hansen Cc: Cocoa-dev@lists.apple.com Sent: Monday, May 18, 2009 2:04:27 AM S

Re: LMSetKey[Rep]Thresh

2009-05-17 Thread Christopher Hansen
which separates the rendering layer from the application/event handling layer -- to use Cocoa for my rendering. Christopher From: Sean McBride To: Christopher Hansen ; Cocoa-dev@lists.apple.com Sent: Sunday, May 17, 2009 9:40:29 PM Subject: Re: LMSetKey[Rep]Thre

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, Christoph