User Tag List

Page 1 of 2 1 2 LastLast
Results 1 to 10 of 11

Thread: Simulate a touchpad to move the cursor?

  1. #1
    Clicker Fusion 2.5 MacFusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    Fuuriokun's Avatar
    Join Date
    May 2010
    Location
    Brazil
    Posts
    245
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)

    Question Simulate a touchpad to move the cursor?

    How can I move a cursor (active) using the touchscreen as a touchpad?

  2. #2
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleSWF Export Module

    Join Date
    May 2012
    Location
    NSW, Australia
    Posts
    405
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Do you mean use a portion of the screen as a touchpad, ie to control a player?

    Off the top of my head this makes sense: (haven't tested)

    User clicks within a zone
    Set "Active" X to Xmouse
    Set "Active" X to Ymouse + (SizeOfTouchpad)

    Or no matter where is touched, set the active to the position?

    Always -
    Set "Active" X to Xmouse
    Set "Active" Y to Ymouse

    Or even?

    Repeat while left mouse button pressed
    -Set (Active) X to Xmouse
    - Set (Active) Y to Ymouse

  3. #3
    Clicker Fusion 2.5 MacFusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    Fuuriokun's Avatar
    Join Date
    May 2010
    Location
    Brazil
    Posts
    245
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Not exactly... I need to use all the screen as a touchpad, when I tap the screen it simulates a click, but when I drag my finger across the screen the active has to do the same moviment but not above of my finger...
    The moviment has to start from where the active are. Something like this:

    http://www.youtube.com/watch?feature...m2dq0Cr4#t=148

  4. #4
    Clicker Fusion 2.5 MacFusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    Fuuriokun's Avatar
    Join Date
    May 2010
    Location
    Brazil
    Posts
    245
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    To see what I mean, go to 2:34 on the video.

  5. #5
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Apr 2007
    Location
    Australia
    Posts
    1,151
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You need to set the active to the mouseX and mouseY PLUS an offset amount. Which would be the distance between the mouse x/y and the active x/y.

    This way, no matter where they touch on the screen, the active will follow the movement of the finger, even if it started further away.

  6. #6
    Clicker Fusion 2.5 MacFusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    Fuuriokun's Avatar
    Join Date
    May 2010
    Location
    Brazil
    Posts
    245
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    For some reason this happens:
    touchpad cursor.zip

  7. #7
    Clickteam Clickteam
    Fernando's Avatar
    Join Date
    Dec 2006
    Posts
    6,171
    Mentioned
    166 Post(s)
    Tagged
    3 Thread(s)
    Thinking in the cursor above the finger, the cursor Y should be less that the Y Mouse position and regarding "Right hand" the cursor X should be less that X Mouse, but if is a "Left Hand" the cursor X should be at right of the X Mouse
    Attached files Attached files
    Regards,


    Fernando Vivolo

    ... new things are coming ...

  8. #8
    Clicker Fusion 2.5 MacFusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    Fuuriokun's Avatar
    Join Date
    May 2010
    Location
    Brazil
    Posts
    245
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    I think you didn't understand what I want, so I made a example...
    touchpad cursor_example.zip

  9. #9
    Clickteam Clickteam
    Fernando's Avatar
    Join Date
    Dec 2006
    Posts
    6,171
    Mentioned
    166 Post(s)
    Tagged
    3 Thread(s)
    oh sorry i misunderstood. glad you solved it
    Regards,


    Fernando Vivolo

    ... new things are coming ...

  10. #10
    Clicker Fusion 2.5 MacFusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    Fuuriokun's Avatar
    Join Date
    May 2010
    Location
    Brazil
    Posts
    245
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Not solved yet... The example just shows how it should work (visually), but I need something to do this using the touch and some expressions...

Page 1 of 2 1 2 LastLast

Similar Threads

  1. XML Parser: move selection cursor to Root
    By K1kk0z90 in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 3rd January 2012, 11:52 AM
  2. Android TouchPad II
    By Danny in forum Android Export Module Version 2.0
    Replies: 1
    Last Post: 6th September 2011, 04:58 PM
  3. cursor object? or own cursor?
    By Gibbon in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 31st December 2007, 08:52 AM
  4. How to move Active Objects with mouse cursor?
    By Joni in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 30th October 2006, 04:28 PM

Posting Permissions

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