Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 laptop mouse pad + Mouse.Where
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
tenniscrazy




PostPosted: Thu May 17, 2007 11:14 am   Post subject: laptop mouse pad + Mouse.Where

when you use the Mouse.Where command with a touch mousepad on a laptop it doesn't work for some reason.

does anyone have a solution to this?
Sponsor
Sponsor
Sponsor
sponsor
tkas19




PostPosted: Thu May 17, 2007 9:04 pm   Post subject: RE:laptop mouse pad + Mouse.Where

it works for me
Dan




PostPosted: Fri May 18, 2007 12:04 am   Post subject: RE:laptop mouse pad + Mouse.Where

It also works for me, there should be no reason why mouse.where whould work differntly for a diffrernt kind of poitning device in turing since it is based on where the pointer is on the screen and i blive it uses the windows API to determin it's location so it is not driver/mouse depenendent.

I whould check to make shure you mouse is working noramly with windows. If it seems ok, post your code since it may be how you are using the comand.
Computer Science Canada Help with programming in C, C++, Java, PHP, Ruby, Turing, VB and more!
tenniscrazy




PostPosted: Fri May 18, 2007 11:01 am   Post subject: Re: laptop mouse pad + Mouse.Where

thats weird... it is on my teachers laptop, and none of the programs in our class that use Mouse.Where work on it

code:
loop
    Pic.Draw (picmenu, x2, y2, picMerge)
    View.Update
    Input.Flush
    Mouse.Where (x1, y1, button)

    if button = 1 and x1 > 249 and x1 < 366 and y1 > 244 and y1 < 272 then         % If the mouse is over those location and clicked the game should begin
        wipe
        y := 36
        x := 36
        xg1 := 420
        yg1 := 348
        key := false
        ninja
        %-----------------------------------------------------------------------------------------------------------------------
    elsif button = 1 and x1 > 133 and x1 < 480 and y1 > 146 and y1 < 173 then
        wipe
        do2
        %-----------------------------------------------------------------------------------------------------------------------
    elsif button = 1 and x1 > 200 and x1 < 410 and y1 > 45 and y1 < 75 then
        wipe
        do3
    else
    end if
end loop
[/code]
Albrecd




PostPosted: Fri May 18, 2007 12:22 pm   Post subject: Re: laptop mouse pad + Mouse.Where

I don't see any problems with your code (unless there's an error in your procedures that aren't shown).

If you have access to another computer you should try to run your code on it and see if the problem persists.
tenniscrazy




PostPosted: Tue May 22, 2007 10:29 am   Post subject: RE:laptop mouse pad + Mouse.Where

the code works on all other computers its just the laptops mousepad thing. It works if you plug in a mouse to the laptop tho, so it must just be the touch pad thats weird...oh well
Display posts from previous:   
   Index -> Programming, Turing -> Turing Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 6 Posts ]
Jump to:   


Style:  
Search: