Results 1 to 2 of 2
  1. #1

    Member Since
    May 05, 2010
    Generating Keyboard Events
    Hi all,
    I recently started my development in MAC OS. My aim is to generate keyboard events programatically, and I came across this method CGEventCreateKeyboardEvent and CGPostToPSN.....My doubt here is there is flag in CGEventCreateKeyboardEvent method, which indicates key down or key up...........In our keyboards if I press and hold down a key, it keeps on producing the event.. I thought even this API does the samething on setting the flag TRUE..but it isn't the case...Any pointers on this!!!!

  2. #2

    chscag's Avatar
    Member Since
    Jan 23, 2008
    Fort Worth, Texas
    27" iMac i5, 3.2 GHz, iPad 3, iPhone 5c, iPhone 6+, 3 iPods, El Capitan
    Note: Moved to appropriate forum.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Help!! Trash is generating thousands of files
    By cynth_ in forum OS X - Operating System
    Replies: 5
    Last Post: 12-01-2014, 10:52 PM
  2. Replies: 1
    Last Post: 06-06-2013, 11:14 AM
  3. WebView in NSWindow and keyboard events
    By albanvn in forum OS X - Development and Darwin
    Replies: 0
    Last Post: 05-06-2010, 10:17 AM
  4. Noise generating application in development
    By fluidmac in forum Images, Graphic Design, and Digital Photography
    Replies: 2
    Last Post: 12-24-2007, 10:35 AM
  5. application for generating sales receipts..
    By tuggle in forum OS X - Apps and Games
    Replies: 0
    Last Post: 07-08-2007, 10:03 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts