Wii Q&A
About the Internet Channel
Q: How do I make my own website for the Internet Channel? A: Here are some tips in making websites that are optimized for the Internet Channel.
Q: What are the User Agents of the Internet Channel? A: Here are the Internet Channel's user agents:*
  • Japan
    Opera/9.10 (Wii; U; ; 1621; ja)
  • English
    Opera/9.10 (Wii; U; ; 1621; en)
  • German
    Opera/9.10 (Wii; U; ; 1621; de)
  • Spanish
    Opera/9.10 (Wii; U; ; 1621; es-ES)
  • French
    Opera/9.10 (Wii; U; ; 1621; fr)
  • Italian
    Opera/9.10 (Wii; U; ; 1621; it)
  • Dutch
    Opera/9.10 (Wii; U; ; 1621; nl)


*The Internet Channel after 10/10/07:
  • Japan
    Opera/9.30 (Wii; U; ; 2047-7; ja)
  • English
    Opera/9.30 (Wii; U; ; 2047-7; en)
  • German
    Opera/9.30 (Wii; U; ; 2047-7; de)
  • Spanish
    Opera/9.30 (Wii; U; ; 2047-7; es-ES)
  • French
    Opera/9.30 (Wii; U; ; 2047-7; fr)
  • Italian
    Opera/9.30 (Wii; U; ; 2047-7; it)
  • Dutch
    Opera/9.30 (Wii; U; ; 2047-7; nl)
*These user agents are subject to change without notice. Back Back
Q: How do I obtain the window size in JavaScript? A: Window width is always fixed at 800px. Window height can be obtained using window.innerHeight, and will be the size shown below according to Internet Channel settings.
Window Height (px)
Screen Aspect RatioTool Bar Screen Width Settings
0 1 2 3 4 5 6 7 8 9 10
4:3 Always Display 560 556 548 544 536 528 524 520 512 508 500
Auto/Manual 660 656 648 644 636 628 624 620 612 608 600
16:9 Always Display 420 416 412 408 400 396 392 388 384 380 376
Auto/Manual 496 492 488 484 476 472 468 464 460 456 452
Back Back
Q: How do I make my website stop displaying the links in blue text? A: You can change the design so it will not display the links in blue by specifying outline: none; in the style sheet. *The Internet Channel before 10/10/07:
a:hover {
	outline: 2px solid #34BEED;
}
a:hover img, a:hover object, a:hover area, a:hover map, a:hover embed {
	outline: 8px solid #34BEED;
}
input:hover, select:hover, option:hover, map:hover, area:hover {
	outline: 2px solid #34BEED;
}

*The Internet Channel after 10/10/07:
a:hover, img[onclick]:hover {
    outline: 4px -o-highlight-border;
}
 
button:hover, input:hover, select:hover, textarea:hover {
    outline: 4px -o-highlight-border;
}

input[type="file"]:hover {
    outline: none;
}
Back Back
Q: What are the JavaScript key codes of the Wii Remote? A: Here are the key codes for each of the buttons on the Wii Remote: *The Internet Channel before 10/10/07:
Button Key code
(+) Control Pad - Up 175
(+) Control Pad - Down 176
(+) Control Pad - Left 178
(+) Control Pad - Right 177
A Button 13
B Button 171
(-) Button 170
(+) Button 174
1 Button 172
2 Button 173
Home Button Unavailable

*The Internet Channel after 10/10/07:
Button Key code
(+) Control Pad - Up 175
(+) Control Pad - Down 176
(+) Control Pad - Left 178
(+) Control Pad - Right 177
A Button Unavailable
B Button Unavailable
(-) Button 170
(+) Button 174
1 Button 172
2 Button 173
Home Button Unavailable
*JavaScript functionality has been added to capture the state of the B Button. Back Back
Tell me about the advanced features of the Internet Channel Using special JavaScript, the Wii Internet Channel can detect the Wii Remote's twist, its distance to the TV, and the conditions of other controllers connected to Wii. These features cannot be used on the Trial Version of the Internet Channel.
window.opera.wiiremote Object
MethodDescription
update(num) Numbers 0~3 goes in num. 0 is 1P controller.
This obtains the current status of the corresponding Wii Remote, and returns the object with that information.
The properties are as follows.
Wii Remote Status Object
PropertyDescription
isEnabled When a Wii Remote is connected, the value will be 1.
isDataValid If the data is valid, the value will be 1.
isBrowsing If the Wii Remote has browsing rights, the value will be 1.
dpdX Shows pointing location.
Front is zero, and bottom right is plus direction.
dpdY
hold The button's flag will come up during button press.
The value of the Wii Remote that has a [isBrowsing] of 1 cannot be obtained.
dpdRollX Shows the DPD parallel direction vector.
The vector length is 1, and bottom right is plus direction.
dpdRollY
dpdDistance Shows the distance between the sensor bar on the TV and the Wii Remote.
The further the distance, the larger the number returned.
dpdValidity Displays the number of objects that could be provided to recognize the pointing location.
Normally, the value is 1 or 2, and 0 would mean invalid.
If a minus number is displayed, this means that the recognition results are unreliable.
Button Flag Chart
(+) Control Pad - Up 8
(+) Control Pad - Down 4
(+) Control Pad - Left 1
(+) Control Pad - Right 2
A Button 2048
B Button 1024
(-) Button 4096
(+) Button 16
1 Button 512
2 Button 256
Home Button Unavailable
Back Back
Sample Page
This is a sample page that obtains and displays the Wii remote status every 0.1 seconds.
This sample runs correctly only when viewed on the Internet Channel.

(Disclaimer)
  • This company will give absolutely no legal guarantee regarding this expanded function, including ownership of fixed marketability, ownership of compatibility for specific purpose, no damage to 3rd party intellectual property (patent, copyright, trademark, etc).
  • This company will take absolutely no responsibility for any kind of damages sustained due to use of this expanded function.
  • This company does not grant any kind of rights for parties using this expanded function.
  • This company will provide no support whatsoever for this expanded function.
Back Back