473,395 Members | 1,856 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

change wii remote keys to tab keypress

3
helllo.. guys

I am creating a website for nintendo wii .. and what i want to do is use the wii remote controls up/down/right/left keys to behave like the TAB key works on the PC... Like when you press tab key it takes you to the next links, images e.t.c..

so , please can any one help me with this it would nice if i could do it in javascript..


Thanks...
Jul 31 '09 #1
5 2025
JosAH
11,448 Expert 8TB
This is the Java forum; Java and Javascript are two different language; do you want me to move your thread to the Javascript forum?

kind regards,

Jos (moderator)
Jul 31 '09 #2
gujar
3
oo.. sorry for that .. can you jst move it to the javascript forum..

Thanks..
Jul 31 '09 #3
gits
5,390 Expert Mod 4TB
hmmmm ... you cannot really react on a specific device ... because javascript has no ability to differ between a keyboard or a wii-remote. but you could try to simulate the behaviour ... so which keyevents are triggered when you press the keys in question? please show what you have done so far.

kind regards
Jul 31 '09 #4
iam_clint
1,208 Expert 1GB
You can use something like
http://javascript.internet.com/misce...cter-code.html

To show you the key code that the wii uses.
Jul 31 '09 #5
gujar
3
actually just started working on it these are the codes for the wiimote buttons..
just want to say some thing for e.g - e.keycode== 175 start focus or is there any tabing option..
Expand|Select|Wrap|Line Numbers
  1. document.onkeypress = function(e) {
  2.    if (e.keyCode == 175 || e.keyCode == 176 || e.keyCode == 178 || e.keyCode == 177){
  3.     alert("pressing keys")
  4.      return false;
  5.    }
  6. };
Aug 1 '09 #6

Sign in to post your reply or Sign up for a free account.

Similar topics

9
by: Etienne Charland | last post by:
Hi, there is an application running on a remote desktop (under Citrix ICA, but the same problem applies for RDC or PC Anywhere). Now, I want to send keys to the remote application from a local app....
1
by: waisty vb.net rookie | last post by:
How do i use cursor keys or other non printing keys like alt and shift to raise an event. If it's possible, how do i use the keypress event to do it -- Thanks for reading
3
by: Vadim Rapp | last post by:
Hi: On my form, I have textbox and combo box. Form's KeyPreview = True. It does work for the textbox, but not for the combo. I.e. Private Sub Form1_KeyPress(ByVal sender As Object, ByVal e As...
1
by: Dino Buljubasic | last post by:
Hi, Can somebody help me with this problem please. I need to get the value, not just to check for it, of a number pressed but it has to work for both, numbers above QUERTY and numbers entered...
1
by: Jim Hubbard | last post by:
Why isn't the Keypress event of the System.Windows.Form.ToolStripComboBox triggered by hitting the Enter key? I cannot trap Keys.Enter or Keys.Return in the Keypress event.
3
by: MLM450 | last post by:
I have a control that handles the KeyDown event but it does not seem to execute when a combination of keys is pressed - like CTRL+Z. If I press CTRL, it executes. If I press Z, it executes. But the...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.