i'm trying to understand some joystick structure: http://msdn.microsoft.com/en-us/library/windows/desktop/dd757112%28v=vs.85%29.aspx
but isn't easy. at least these image help me more(joystick layout):
https://onedrive.live.com/?cid=C3EF456E15C8DEB6&id=C3EF456E15C8DEB6!1259&v=3

but i need ask more:
1 - the Hat and X and Y coordenates are the same or they can be programmed in separed ways?
2 - i can't find the POV, U, V, R buttons\coordenates\axis... can anyone help me on these?

Recommended Answers

All 2 Replies

If I am reading the docs right, the POV field represents the hat control, if present. The U, V, and R represent additional axes for the joystick, if the joystick has them (the R does double duty as representing a rudder pedal, if there is one). For example, the U might be used for representing Yaw on a joystick that swivels along the axis of the joystick. Very few joysticks have these extra axes, so you probably wouldn't need them, but they are present for those joysticks which support them.

sorry but i'm confused with 1 thing:my brother have 1 joystick more or less like that layout. but the hat control and the X,Y do the same actions... is these normal or fix or i can change the X,Y axis?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.