Records 1 to 5 of 5
Browse Category
» Application
» Arc » AVI » Bitmap » Brush » Caret » Character » Clipboard » Color » Compress » Console » Cryptographic » Currency » Cursor » Date/Time » DDE » Device » Display » DLL » Drives » Ellipse » File » Font » FTP » HotKey » Icon » ImageList » Inet » INI-Files » Internet » Joystick » Keyboard » Memory » Menu » MIDI » Network » Objects » Pen » Picture » Polygon » Ports » Printer » Process » Rectangle » Registry » ScrollBar » Sound » Strings » System » Tape » Text » Timer » Triangle » Wait » Window |
5 Joystick API Function
Sort: Most Viewed | Highest Rated | A-Z | Z-A
JOYINFO StructureJOYINFO-type variables hold the current position of a joystick. This structure can store the positions of the x, y, and z axes, as well as the buttons pushed. Note that this structure can only receive information about buttons 1 through 4 on the joystick -- if there are more, they are ignored...Hits: 6687 Rating: (2.44) votes 1109
joyGetPosjoyGetPos reads the current position and status of a joystick. This information is put into the variable passed as pji. The function returns 0 if the joystick is connected and working, or a non-zero error code if it is not. ...Hits: 7632 Rating: (2.17) votes 1454
joyGetNumDevsjoyGetNumDevs returns the number of joysticks that are configured under Windows's Control Panel. This doesn't necessarily mean that all of them are connected and in working order, but there could be. The best way to see if a joystick is working is to call joyGetDevCaps and check for a return value o...Hits: 5106 Rating: (2.52) votes 1407
joyGetDevCapsjoyGetDevCaps reads various information about a joystick. This information is put into the variable passed as lpCaps. This function does not, however, give you the current position of the joystick. The function returns 0 if the joystick is connected and working and a non-zero error code if it isn't....Hits: 5646 Rating: (3.48) votes 1547
JOYCAPS StructureJOYCAPS-type variables hold information about a joystick (not to be confused with the current position of the joystick). Namely, this structure holds the axes' ranges and the number of buttons the joystick has. ...Hits: 5167 Rating: (2.83) votes 1567
Records 1 to 5 of 5
|