TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

HTML5 XBOX Controller in Firefox Nightly

29 pointsby boazsenderalmost 14 years ago

5 comments

wtallisalmost 14 years ago
The explanation of the analog stick axes needs clarification: "For example, the XBox wired controller has 4 axes (top to bottom, left to right, and two diagonals.)" What's a diagonal axis, if not a linear combination of the vertical and horizontal axes?<p>At minimum, for an Xbox-style controller, you should be seeing a vertical and horizontal axis for each of the two analog sticks, and an axis for each of the two analog triggers. From an original Xbox controller, you should also have six analog buttons (though they are usually treated as standard binary buttons).<p>Other than that, this looks pretty cool. Perhaps in a few years, we'll see stuff like this combined with WebGL to make an open-source, cross-platform gaming environment that goes way beyond the current crop of 2d Flash games.
评论 #2863243 未加载
评论 #2863533 未加载
iamalmost 14 years ago
1) It's a general joystick api, not just xbox.<p>2) You can't actually use an xbox controller with a computer (and hence with firefox) anyway without a USB cable. You could use a 360 controller, but not the first Xbox.
评论 #2863055 未加载
jimminyalmost 14 years ago
Yes. I was waiting for this, this is something I really wanted for one of my side projects.
cultureulterioralmost 14 years ago
Anyone know if there a tablet pressure/tablet pen direction api in browsers yet?
imjkalmost 14 years ago
Cool stuff you guys are doing over there at bocoup.