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: 2937 Rating: (3.07) votes 534
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: 3251 Rating: (2.97) votes 685
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: 2251 Rating: (3.11) votes 618
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: 2402 Rating: (3.05) votes 647
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: 2259 Rating: (2.96) votes 396
Records 1 to 5 of 5
|