inverting the mouse movement

Ask a Question related to Macromedia Director Lingo, Design and Development.

  1. #1

    Default inverting the mouse movement

    here the situation a presentation has been created to run on a displaay that is turned on its size basically creating a portrait view of the monitor instead of landscape (1024,768)

    of course using a mouse now is completly backwards (left and right move up and down and up and down move left and right

    does anyone know how i can invert the mouse location, since there are buttons etc on the screen i cant just use a sprite as a cursor sincel clicking will produce no result

    any ideas or direction appreciated




    mygraneboy webforumsuser@macromedia.com Guest

  2. Similar Questions and Discussions

    1. Mouse look + WADS movement
      Hey - does anyone have or know of some example code where you are in a first person environment in the 3d world , and when you hold the right mouse...
    2. tracking mouse movement..
      Hi there, I have a Cocoa GUI application with a button & edit box. When I launch this application, when i move the mouse over a word doucment, i...
    3. recording mouse movement...
      Why slow ? Well designed parent scripts are not slow. You can have ancestors and properties whose value is a reference to other child objects. I'm...
    4. mouse driven scrolling movement
      Mikee, Any scroller control is a graphic representation of a ratio: the change in location of one object in relation to the change in location of...
    5. detecting Mouse movement
      Hi Shane, You can store the mouseLoc in a variable upon entering the screen saver movie. Then set a conditional in a framescript that will detect...
  3. #2

    Default Re: inverting the mouse movement

    So, you're saying you physically turn the monitor 90 degrees, resulting in the
    mouse movement being wrong for the OS too? In that case, some mouse drivers (on
    Windows, anyway) will let you change the direction the mouse works. I think the
    MS Intellimouse driver does.
    [url]http://www.microsoft.com/downloads/results.aspx?productID=B4FA52ED-793D-433F-8D66-FE50FA55C8A2&freetext=&DisplayLang=en[/url]

    Well, it looks like that driver is available for Mac as well.

    * Warning: I have read that Bad Things can happen if you uninstall Logitech
    mouse/keyboard drivers.* Bad Things may extend to not being able to boot
    Windows.

    Andrew Morton

    Andrew Morton Guest

  4. #3

    Default Re: inverting the mouse movement

    "Andrew Morton" <akm@in-press.co.uk.invalid> wrote in message
    news:bmeem4$4gh$1@forums.macromedia.com...
    >
    > So, you're saying you physically turn the monitor 90 degrees, resulting in
    the
    > mouse movement being wrong for the OS too? In that case, some mouse
    drivers (on
    > Windows, anyway) will let you change the direction the mouse works. I
    think the
    > MS Intellimouse driver does.
    IIRC, some video drivers support inverted monitors as well. You can even get
    some LCD displays that can hot switch between landscape and portrait modes.
    Haven't kept up to date with this stuff though, so I can't point you to any
    specific manufacturers.

    Of course, if this is just for a one-off presentation running as a full
    screen projector then the setMouse Xtra or BuddyAPI will do a reasonably
    good job, should none of the hardware-linked options be possible.

    - Robert


    Robert Tweed Guest

  5. #4

    Default Re: inverting the mouse movement

    thanks andrew

    i figured a lingo fix might not be the answer here, they are using a trackball instead of a mouse but your info has been very helpful

    thanks


    mygraneboy webforumsuser@macromedia.com Guest

  6. #5

    Default Re: inverting the mouse movement

    what could i do with buddy api?


    mygraneboy webforumsuser@macromedia.com Guest

  7. #6

    Default Re: inverting the mouse movement

    "mygraneboy" <webforumsuser@macromedia.com> wrote in message
    news:bmek9i$dv3$1@forums.macromedia.com...
    >
    > what could i do with buddy api?
    You can reset the mouse position to an arbitrary location. So on
    prepareFrame you just check how far the mouse has moved since the last
    frame, swap the x and y, and set the mouse to the new position. You will
    need a property to keep track of the "virtual" mouse position so that it
    doesn't move twice. You may also get an occasional flicker of the mouse
    moving the wrong way, so it isn't perfect, but it's all you can do without
    an updated hardware driver of some sort.

    - Robert


    Robert Tweed Guest

  8. #7

    Default Re: inverting the mouse movement

    thanks for the feedback however the results are really jerky with a lot of flicker

    thanks any way


    mygraneboy webforumsuser@macromedia.com Guest

  9. #8

    Default Re: inverting the mouse movement

    "mygraneboy" <webforumsuser@macromedia.com> wrote in message
    news:bmerqu$qsf$1@forums.macromedia.com...
    >
    > thanks for the feedback however the results are really jerky with a lot of
    flicker

    Have you tried setting the tempo higher? Remember that the screen updates at
    about 70Hz, and the mouse driver is synced to the monitor: However, the
    default tempo is only 30fps. If you set it higher you will get less flicker,
    although as I said before, it will never be perfect.

    You could also try hiding the hardware mouse cursor and using a custom
    graphic cursor, which will probably look better.

    - Robert


    Robert Tweed Guest

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139