Coder Social home page Coder Social logo

Comments (2)

vgmoose avatar vgmoose commented on May 24, 2024

100% agree. I have some wiimotes to test with and use to add proper support. I think a good way to add this functionality is through treating the Wii pointer like a mouse, which would allow it to use the same touch events for clicking and scrolling.

Extra great would be to support an Internet Browser style "Hold B and drag to pan", but I'm not sure how hard that is to do, though. Changing button prompts is also kind of annoying implementation-wise, but for proper support also necessary.

from hb-appstore.

vgmoose avatar vgmoose commented on May 24, 2024

Initial changes to support alternative controller types have been added in b4b3a21, as well as having on-hover highlights for cursor events (which will help pointer controls further).

Screen shots of the UI with buttons that have prompts change when the "last button input" is from a wii remote + nunchuk:
Screenshot 2024-04-14 at 6 05 09 PM
Screenshot 2024-04-14 at 6 05 22 PM
Screenshot 2024-04-14 at 6 05 16 PM Screenshot 2024-04-14 at 6 06 15 PM

There's still more work needed on this however to support a single wiimote with no nunchuk. I think there's two approaches:

  1. Only have core functionality mapped to buttons, and "extra" functionality will have to be pressed visually using a sensor bar
  2. Have core functionality on buttons, and the extra functionality mapped to different button combinations

And I'd also like to have the B button scrolling still, which shouldn't be hard to hook up to scroll events, but will need a GUI indicator as well.

from hb-appstore.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.