When the Sync button is pressed on the remote, it will accept pairing requests. The "syncing" of a Wii Remote involves standard Bluetooth pairing. When the Sync button is pressed, the Wii remote will disconnect from whatever it is currently connected to, make itself discoverable, and accept pairing or connection requests for exactly 20 seconds (regardless of how long the button is held down for). The sync button is hidden under the battery cover. Another possible value is REMOTE DEVICE TERMINATED CONNECTION DUE TO LOW RESOURCES (0x14), which indicates that the Wii Remote performed a controlled shut down due to a low battery condition. The disconnection reason included with the Baseband (ACL) disconnection request indicates that the power button was pressed: REMOTE DEVICE TERMINATED CONNECTION DUE TO POWER OFF (0x15). When the Wii Remote is turned on and connected to a host, pressing and holding the Power button for a few seconds will turn the Wii Remote off and request disconnection from the host. The mechanism for this is unknown, and it is handled entirely within the Wii's bluetooth module. When the Wii Remote is turned off, pressing the Power button will attempt to wake up the Wii that is synchronized to it. These are the assignments, in big-endian order: These are reported as bits in a two-byte bitmask. The Wii Remote has 11 buttons that are used as regular input devices: A, B (trigger), a 4-directional D-Pad, +, -, Home, 1, and 2. However, the Wii Remote may be configured to report the state of the buttons continuously see Data Reporting. By default, these are sent only when the state of any button changes, in Data Reporting Mode 0x30. A button will report a 1-bit if pressed, or a 0-bit otherwise. All the other buttons are independantly accessible through a two-byte bitmask which is transmitted first in most Input Reports. Of these, the Power button is special and is treated differently by the Wii Remote. The Wii Remote has 11 buttons on its front face, and one trigger-style button on the back.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |