Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Code Snippets / Non-standard mouse control?

Author
Message
HowDo
21
Years of Service
User Offline
Joined: 28th Nov 2002
Location: United Kingdom
Posted: 31st Jul 2005 16:58 Edited at: 1st Aug 2005 19:50
Hi All,

just something that makes your mouse work wrongly.



I'm not getting you down am I, Ho Look! another fancy Door?
Xolatron old
20
Years of Service
User Offline
Joined: 25th Jan 2004
Location: The Star Forge Language: DBpro
Posted: 31st Jul 2005 20:22
HowDo, does this
Quote: "its does work not right"

Mean that it does or does not make your mouse work incorrectly ?

-Xol

HowDo
21
Years of Service
User Offline
Joined: 28th Nov 2002
Location: United Kingdom
Posted: 31st Jul 2005 20:56
well its was suppose to make it that when you moved the mouse in any direction it would go the other way, but found out it wasn't doing that it was just putting the mouse x and y back to front (swaped), not what I was tring to do.

What I trying to do was what ever direction you wanted the cursor to move would randomly go the another way.

I'm not getting you down am I, Ho Look! another fancy Door?
NanoBrain
19
Years of Service
User Offline
Joined: 20th Jan 2005
Location: Portland, OR
Posted: 31st Jul 2005 21:14
HowDo,




+NanoBrain+
HowDo
21
Years of Service
User Offline
Joined: 28th Nov 2002
Location: United Kingdom
Posted: 1st Aug 2005 19:49 Edited at: 1st Aug 2005 19:52
Ok, got it doing a bit more of what I was thinking, now to reset the above post.




Now to work on random direction,if you start going in the same direction for more than a few pixels it will take another direction.

In other words there will be no way you will be able to control it.

I'm not getting you down am I, Ho Look! another fancy Door?
Xolatron old
20
Years of Service
User Offline
Joined: 25th Jan 2004
Location: The Star Forge Language: DBpro
Posted: 2nd Aug 2005 02:11
Hey, that's cheating - I was getting the hang of it when your program put the box at a place that the mouse couldn't go to!

Interesting - but not as random as you think; I could control it with a little thought. To improve this, make the program rebind which direction the mouse goes compared to it's physical movent - maybe once every few hundred or thousand loops.

-Xol

HowDo
21
Years of Service
User Offline
Joined: 28th Nov 2002
Location: United Kingdom
Posted: 2nd Aug 2005 19:36
yeh! I found that, know what causing it but can't see away to fix it.

If you do it circles it becomes a bit to easy to control.

The above code may end up being used to make weige board (if spell right), so that there is No user input possiable to influence the out come.

I'm not getting you down am I, Ho Look! another fancy Door?

Login to post a reply

Server time is: 2024-11-23 11:07:31
Your offset time is: 2024-11-23 11:07:31