CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Dec 2008
    Posts
    1

    Drawing cursors on glasspane from IR data

    Hello,

    Based on the following API: http://wiigee.sourceforge.net/doc/index.html

    I would like to draw a cursor on a glasspane based on data received to the controller from IR data i.e. Infrared Event.

    As such as the user moves the controller based on the IR data the cursor moves on the glasspane. However I am unsure as to how to get the IR data neessary to do this and subsequently move the data.

    Does anybody have any ideas?

    Thanks

  2. #2
    dlorde is offline Elite Member Power Poster
    Join Date
    Aug 1999
    Location
    UK
    Posts
    10,163

    Re: Drawing cursors on glasspane from IR data

    The interface looks reasonably straight-forward to me - it has an InfraredEvent that contains co-ordinates and a WiimoteListener that gets notified of InfraredEvents... what exactly is the problem?

    What does '... subsequently move the data' mean?

    It is not knowledge, but the act of learning, not possession, but the act of getting there which generates the greatest satisfaction...
    F. Gauss
    Please use [CODE]...your code here...[/CODE] tags when posting code. If you get an error, please post the full error message and stack trace, if present.

  3. #3
    Join Date
    May 2006
    Location
    UK
    Posts
    4,473

    Re: Drawing cursors on glasspane from IR data

    Here's on example of how to draw on the glasspane

Posting Permissions

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





Click Here to Expand Forum to Full Width

Featured