Results 1 to 7 of 7

Thread: Sending OS I/O interrupt signals!

  1. #1
    Join Date
    Jul 2010
    Posts
    4
    Thanks
    2
    Qt products
    Qt4
    Platforms
    MacOS X

    Exclamation Sending OS I/O interrupt signals!

    Dears,


    I'm an under graduated student developing an application which use isight as gesture input to implement with 3D modeling such as sketchup on mac os x. With the combination between Qt and Opencv, could any body point me out how to take over the os mouse and keyboard while started my app.

    Develop Environment:
    -Mac OS 1.6 Snow Leopard
    -Qt framework for UI
    -Opencv for image processing

    Thanks in advanced!
    Tee
    Last edited by nofortee; 13th July 2010 at 12:16. Reason: change subscribe

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Sending OS I/O interrupt signals!

    What do you mean by "take over"? You want all mouse events from the system to go into your app or you want to receive mouse events when your application is active?
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  3. The following user says thank you to wysota for this useful post:

    nofortee (13th July 2010)

  4. #3
    Join Date
    Jul 2010
    Posts
    4
    Thanks
    2
    Qt products
    Qt4
    Platforms
    MacOS X

    Wink Re: Sending OS I/O interrupt signals!

    wysota, thanks for replying

    my question might not clear enough. allow me to explain it again.

    Now I have an application which can track four colors from the webcam. I made a glove that has four fingers with four different colors. The tracking is fine. Now I want to use those colors to send the mouse event to the os in order to control other stuff such as double click to open folder, move the cursor around. just behave like an input.

    can I implement it?
    please help me to figure it out. my english doesn't that great, if you don't understand, I will try to explain again.
    Thanks you!! ^^

  5. #4
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Sending OS I/O interrupt signals!

    Qt won't help you much here, you need to do it using native API.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  6. The following user says thank you to wysota for this useful post:

    nofortee (13th July 2010)

  7. #5
    Join Date
    Jul 2010
    Posts
    4
    Thanks
    2
    Qt products
    Qt4
    Platforms
    MacOS X

    Default Re: Sending OS I/O interrupt signals!

    Thank for your kindly reply.

    If you know how to implement it or where should I start, appreciate it!
    Thanks!!

  8. #6
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Sending OS I/O interrupt signals!

    I suggest starting by reading developer documentation for your OS.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  9. #7
    Join Date
    Jul 2010
    Posts
    4
    Thanks
    2
    Qt products
    Qt4
    Platforms
    MacOS X

    Default Re: Sending OS I/O interrupt signals!

    Ok! That's what I thought, but thanks for the reply!!
    ^^

    You the man...!!

Similar Threads

  1. Sending signals from one module to another
    By Dubbie in forum Newbie
    Replies: 5
    Last Post: 6th July 2010, 02:52
  2. Interrupt/Exception caught while compiling Qt program
    By Qt Coder in forum Qt Programming
    Replies: 1
    Last Post: 25th June 2010, 22:08
  3. QThread and signals (linux/UNIX signals not Qt Signals)
    By Micawber in forum Qt Programming
    Replies: 1
    Last Post: 28th November 2007, 22:18
  4. sending signals to ancestors
    By magland in forum Qt Programming
    Replies: 3
    Last Post: 6th October 2007, 11:51
  5. Control-C to interrupt is not working
    By rburge in forum Qt Programming
    Replies: 1
    Last Post: 17th April 2006, 21:18

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.