ambiera logo

Ambiera Forum

Discussions, Help and Support.

folder icon Ambiera Forum > CopperLicht
forum topic indicator Better Mouse Control Idea
person icon
sumwon
Registered User
Quote
2010-04-30 23:22:03

Hey guy's,

I came up with a cool idea for mouse control. It involves having a hidden Java applet that incorporates the use of the Robot class, allowing for control of the mouse. Using this, you can set the mouse position to the center of the canvas window every frame and check how much the mouse has moved each frame and move the camera accordingly. Once the user is done with the application, they can simply press escape (or something similar) to regain control of their mouse.

You could even use JavaScript to call functions in the Java applet to set the mouse or get the mouse position.

This would, of course, require signing the applet to grant it permission to control the mouse, but would give MUCH more control over the camera than the current, "move the mouse a millimeter and spin out of control" method.

Thoughts?

person icon
niko
Moderator
Quote
2010-05-01 08:29:58

Would be an idea. You could already try to do this yourself, the mouse input can be changed completely without much effort.


Create reply:










 

  

Possible Codes


Feature Code
Link [url] www.example.com [/url]
Bold [b]bold text[/b]
Image [img]http://www.example.com/image.jpg[/img]
Quote [quote]quoted text[/quote]
Code [code]source code[/code]

Emoticons


icon_holyicon_cryicon_devilicon_lookicon_grinicon_kissicon_monkeyicon_hmpf
icon_sadicon_happyicon_smileicon_uhicon_blink   






Copyright© Ambiera e.U. all rights reserved.
Contact | Imprint | Products | Privacy Policy | Terms and Conditions |