Information processing system, information processing apparatus, storage medium having stored therein information processing program, and information processing method
An example information processing system includes a main body apparatus, a handheld console controller, and a wireless controller. The handheld console controller is configured to be unified with the main body apparatus. The wireless controller is configured to be wirelessly connected to the main body apparatus. The main body apparatus sets one of the handheld console controller and the wireless controller, a predetermined button of which has been pressed down, to “active,” and performs a game process based on operation data from the activate controller.
1. An information processing system comprising:
an information processing apparatus including a processor and a display;
a first control device; and
a second control device, wherein
the processor is configured to:
obtain operation data from the first control device and the second control device, one of the first control device and the second control device being an active control device and the other one of the first control device and the second control device being a not active control device;
determine, based on the obtained operation data, whether a first operation or a second operation is performed, the first operation comprising operation of a predetermined first input of the first control device and the second operation comprising operation of a predetermined second input of the second control device;
based on determining that the first operation is performed at a time when the second control device is the active control device of the first control device and the second control device, set the first control device to be the active control device of the first control device and the second control device;
based on determining that the second operation is performed at a time when the first control device is the active control device of the first control device and the second control device, set the second control device to be the active control device of the first control device and the second control device, and
perform an information process based on the operation data obtained from the active control device of the first control device and the second control device, but not on the operation data obtained from the not active control device of the first control device and the second control device, and wherein
the first control device remains set as the active control device of the first control device and the second control device until determining, based on the obtained operation data, that the second operation is performed, and
the second control device remains set as the active control device of the first control device and the second control device until determining, based on the obtained operation data, that the first operation is performed.
2. The information processing system according to claim 1 , wherein
the first input and the second input each comprises a movable member configured for user operation,
the information processing system further comprises:
a first sensor configured to output first data indicative of a state of the first control device; and
a second sensor configured to output second data indicative of a state of the information processing apparatus, and
the processor is further configured to:
based on the first control device being identified as the active control device, performing the information process based on the operations of inputs of the first control device and the first data; and
based on the second control device being identified as the active control device, performing the information process based on the operations of inputs of the second control device and the second data.
3. The information processing system according to claim 2 , wherein
the first input and the second input each include, as the movable member, a pressible button, and a directional input configured for tilting or sliding.
4. The information processing system according to claim 2 , wherein
the first sensor and the second sensor each include an inertial sensor, and
the first input and the second input each includes at least one of a pressible button, a directional input configured for tilting or sliding, or a touch panel.
5. The information processing system according to claim 1 , wherein
the first control device and the second control device are each configured for selective attachment to and detachment from the information processing apparatus, and the first control device and the second control device are each configured for wireless communication with the information processing apparatus when detached from the information processing apparatus.
6. The information processing system according to claim 5 , wherein
the first control device and the second control device are configured for selective attachment to and detachment from opposite sides of the information processing apparatus.
7. The information processing system according to claim 2 , wherein
the first sensor is provided in the first control device, and
the second sensor is provided in the information processing apparatus.
8. The information processing system according to claim 1 , wherein
the information processing apparatus, the first control device, and the second control device each includes an inertial sensor.
9. The information processing system according to claim 1 , further comprising:
a third control device configured to wirelessly connect to the information processing apparatus,
wherein
the processor is configured to, based on the first control device and the third control device both being wirelessly connected to the information processing apparatus, allow user selection of one of the first control device, the second control device, and the third control device as the active control device.
10. The information processing system according to claim 9 , wherein
the processor is configured to, based on one of the first control device or the third control device being selected as the active control device, control to disconnect from the other one of the first control device or the third control device.
11. A non-transitory computer-readable storage medium having stored therein an information processing program for execution by a computer of an information processing apparatus including a display, wherein
the information processing apparatus is configured for communication with a first control device and a second control device, and
the information processing program, when executed, causing the computer to execute at least:
obtaining operation data from the first control device and the second control device, one of the first control device and the second control device being an active control device and the other one of the first control device and the second control device being a not active control device;
determining based on the obtained operation data, whether a first operation or a second operation is performed, the first operation comprising operation of a predetermined first input of the first control device and the second operation comprising operation of a predetermined second input of the second control device;
based on determining that the first operation is performed at a time when the second control device is the active control device of the first control device and the second control device, setting the first control device to be the active control device of the first control device and the second control device;
based on determining that the second operation is performed at a time when the first control device is the active control device of the first control device and the second control device, setting the second control device to be the active control device of the first control device and the second control device; and
performing an information process based on the operation data obtained from the active control device of the first control device and the second control device; but not on the operation data obtained from the not active control device of the first control device and the second control device, and wherein
the first control device remains set as the active control device of the first control device and the second control device until determining, based on the obtained operation data, that the second operation is performed, and
the second control device remains set as the active control device of the first control device and the second control device until determining, based on the obtained operation data, that the first operation is performed.
12. The non-transitory computer-readable storage medium according to claim 11 , wherein
the first input and the second input each comprises a movable member configured for user operation,
the information processing program, when executed, causes the computer to further execute:
obtaining data from a first sensor configured to output first data indicative of a state of the first control device, and data from a second sensor configured to output second data indicative of a state of the information processing apparatus,
based on the first control device being identified as the active control device, performing the information process based on the operations of inputs of the first control device and the first data; and
based on the second control device being identified as the active control device, performing the information process based on the operations of inputs of the second control device and the second data.
13. The non-transitory computer-readable storage medium according to claim 11 , wherein
the information processing apparatus is configured to wirelessly connect to a third control device, and
the information processing program, when executed, causes the computer to further execute:
based on the first control device and the third control device both being wirelessly connected to the information processing apparatus, allow user selection of one of the first control device, the second control device, and the third control device as the active control device.
14. The non-transitory computer-readable storage medium according to claim 13 , wherein
the information processing program, when executed, causes the computer to further execute:
based on one of the first control device or the third control device being selected as the active control device, disconnecting from the other one of the first control device or the third control device.
15. An information processing apparatus including a display, wherein
the information processing apparatus is configured to communicate with a first control device and a second control device, and
the information processing apparatus comprises a processor configured to:
obtain operation data from the first control device and the second control device, one of the first control device and the second control device being an active control device and the other one of the first control device and the second control device being a not active control device;
determine, based on the obtained operation data, whether a first operation or a second operation is performed, the first operation comprising operation of a predetermined first input of the first control device and, the second operation comprising operation of a predetermined second input of the second control device;
based on determining that the first operation is performed at a time when the second control device is the active control device of the first control device and the second control device, set the first control device to be the active control device of the first control device and the second control device;
based on determining that the second operation is performed at a time when the first control device is the active control device of the first control device and the second control device, set the second control device to be the active control device of the first control device and the second control device; and
performed an information process based on the operation data obtained from the active control device of the first control device and the second control device, but not on the operation data obtained from the not active control device of the first control device and the second control device, and wherein
the first control device remains set as the active control device of the first control device and the second control device until determining, based on the obtained operation data, that the second operation is performed, and
the second control device remains set as the active control device of the first control device and the second control device until determining, based on the obtained operation data, that the first operation is performed.
16. The information processing apparatus according to claim 15 , wherein
the first input and the second input each comprises a movable member configured for user operation, and
the processor is further configured to:
obtain first data from a first sensor configured to sense a state of the first control device, and second data from a second sensor configured to sense a state of the information processing apparatus,
based on the first control device being identified as the active control device, performing the information process based on the operations of inputs of the first control device and the first data; and
based on the second control device being identified as the active control device, performing the information process based on the operations of inputs of the second control device and the second data.
17. The information processing apparatus according to claim 15 , wherein
the information processing apparatus is configured to wirelessly connect to a third control device, and
the processor is further configured to:
based on the first control device and the third control device both being wirelessly connected to the information processing apparatus, allow user selection of one of the first control device, the second control device, and the third control device as the active control device.
18. The information processing apparatus according to claim 17 , wherein
the processor is further configured to:
based on one of the first control device or the third control device being selected as the active control device, control to disconnect from the other one of the first control device and the third control device.
19. An information processing method for use in an information processing system including an information processing apparatus having a display, wherein
the information processing system includes:
a first control device; and
a second control device, and
the information processing method comprises:
obtaining operation data from the first control device and the second control device, one of the first control device and the second control device being an active control device and the other one of the first control device and the second control device being a not active control device;
determining, based on the obtained operation data, whether a first operation or a second operation is performed, the first operation comprising operation of a predetermined first input of the first control device and the second operation comprising operation of a predetermined second input of the second control device;
based on determining that the first operation is performed at a time when the second control device is the active control device of the first control device and the second control device, setting the first control device to be the active control device of the first control device and the second control device;
based on determining that the second operation is performed at a time when the first control device is the active control device of the first control device and the second control device, setting the second control device to be the active control device of the first control device and the second control device; and
performing an information process based on the operation data obtained from the active control device of the first control device and the second control device, but not on the operation data obtained from the not active control device of the first control device and the second control device, and wherein
the first control device remains set as the active control device of the first control device and the second control device until determining, based on the obtained operation data, that the second operation is performed, and
the second control device remains set as the active control device of the first control device and the second control device until determining, based on the obtained operation data, that the first operation is performed.
20. The information processing method according to claim 19 , wherein
the first input and the second input each comprises a movable member configured for user operation, and
the information processing system further includes:
a first sensor configured to output first data indicative of a state of the first control device; and
a second sensor configured to output second data indicative of a state of the information processing apparatus,
the information processing method further comprises:
based on the first control device being identified as the active control device, performing the information process based on the operations of inputs of the first control device and the first data; and
based on the second control device being identified as the active control device, performing the information process based on the operations of inputs of the second control device and the second data.