• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Screensaver can capture mouse events under Catalina
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Screensaver can capture mouse events under Catalina


  • Subject: Re: Screensaver can capture mouse events under Catalina
  • From: Gabriel Zachmann via Cocoa-dev <email@hidden>
  • Date: Tue, 26 May 2020 17:58:40 +0200

>
>> I can confirm: this is indeed critical.  Otherwise, the .saver does not
>> receive mouse events.
>>
>> Unfortunately, it seems that I still cannot get key events.
>
> If you are trying to get events from arrow or modifier keys, you have to use
> keyDown and not keyUp.  But you may not be able to get any key events in a
> screensaver for security reasons.

Yes, I am defining

  - (void) keyDown: (NSEvent *) theEvent

in my ScreenSaverView subclass, but it never gets called.


Gab.


Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Prev by Date: Re: Screensaver can capture mouse events under Catalina
  • Next by Date: Is CGImage... thread-safe?
  • Previous by thread: Re: Screensaver can capture mouse events under Catalina
  • Next by thread: Is CGImage... thread-safe?
  • Index(es):
    • Date
    • Thread