・An error occurs if XCTRLSTYLE is used without starting to recognize Toy-Con Fishing Rod.
・Return values after fishing rod yaw can be omitted.
ID of the controller that acquires information: 1 to 2
Return whether or not the Toy-Con Fishing Rod is recognized. Recognizing with 1. Not recognized by 0
・The recognition method is to mount the left and right Joy-Con on the Toy-Con Fishing Rod and keep it stationary until the recognition flag returns 1.
Get the fishing rod's yaw (left and right angle) as a value between -1.0 and 1.0
・Left is a positive value, right is a negative value, 0 is center.
・Gradually return to 0 even if left and right are not moved.
Get the fishing rod pitch (up and down angle) with a value between -1.0 and 1.0
・Upward is a positive value, downward is a negative value, 0 is horizontal.
Get reel winding speed
・Hold the fishing rod and turn it away from you, it'll be a positive value. When turn it towards you, it'll be a negative value, 0 is stationary.
・It becomes 1.0 in one round.
Get the yaw (left and right angle) of the fishing rod in radians
・Left is positive value, right is negative value, 0 is center.
・Gradually return to 0 even if left and right are not moved.
Get the fishing rod pitch (up and down angle) in radians
・Upward is a positive value, downward is a negative value, 0 is horizontal.