hello

is it possible to switch to another InputDevice while the application is running?
I want to have some button (for mouse , for keyboard and for speech) and would like to 
switch the input device  so I can have different possibilities to navigate in my 
application.

But I get the RestrictedAccessException while trying to change the device

here is the problem

..
sensorBehave = new SensorBehavior( viewTransform, device.getSensor(0) );
                sensorBehave.setSchedulingBounds( new BoundingSphere ( new 
Point3d(0.0,0.0,0.0), Float.MAX_VALUE ));

                inputDeviceBranch.addChild( sensorBehave );
                u.addBranchGraph(inputDeviceBranch);  <<<<<<<< this throws the 
exception

..


thanks for help
Ralf

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to