Git Product home page Git Product logo

Comments (3)

kzahel avatar kzahel commented on June 20, 2024

kzahel@c3d30fc

I played around and got gamepad working, it was pretty simple.

Original quake didn't have gamepad support, I guess. And gamepads didn't really come around until like N64 goldeneye and halo. I couldn't find anywhere to set sensible default controls, I guess those are in the pakfile config.cfg, unfortunately.

gamepad support is pretty hacky... I can see why you didn't want to put it in.

from webquake.

SpiritQuaddicted avatar SpiritQuaddicted commented on June 20, 2024

Looking at https://w3c.github.io/gamepad/ and https://developer.mozilla.org/en-US/docs/Web/API/Gamepad_API/Using_the_Gamepad_API it looks like the situation is much better nowadays. @Triang3l what's your stance on gamepad support now?

from webquake.

Triang3l avatar Triang3l commented on June 20, 2024

Might be interesting to try to port the joystick code from Quake, have never played it with a gamepad, but why not (when I'm not too lazy to do it).

from webquake.

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.