WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 08-01-2003, 10:03 PM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
Hi,

Here is a list of the available commands in the sid library, I believe the hat command is what you are looking for.

get
This returns a list of three values. The first value is the x position of the joystick. The second value is the y position of the joystick. The third value is a number where each bit represents whether a certain button is down.

trigger
This returns whether the trigger button has been pressed

buttons
This returns a number where each bit represents whether a button is down

angle
This is a helper function that returns the angle the joystick is pointed at.

slider
This returns the position of the slider

hat
This returns the value of the hat switch

aux
This returns some auxillary values

set
This sets the value for force feedback
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 09:24 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC