XBox_Controller_Linux_Interface

Languages and libraries

c library

SHOW HN2016

36points
9comments
#904of 2,264 in 2016
Top 40%of 2016 by points

How HN took it

QuietFewer than 5 comments about the project

1 positive, 1 neutral or asking, 0 mixed, 2 critical, out of 4 comments about the project.

Design: 1 for, 2 against

The thread, comment by comment

Each row is a top-level comment and its replies, in HN's order. Select a cell to open that comment on HN.

positive neutral or mixed critical about another commenter or something else the maker

What HN said

What people liked

  • Straightforward and easy to use

    From 1 comment
    • This is great! I like the straightforwardness of it. I'm sure the user could find out the index values for each button on the controller, but I'd be tempted to include an enum…
      danbolt on HN

Objections

  • The mt prefix is unclear and should match the library name

    From 2 comments
    • What is the "mt" prefix for?
      gravypod on HN
    • > it doesn't really matter as long as it's unique. It sort of does, because the library isn't called (or has the acronym) "mt". Why not call it "xbox*" or something like that?
      cyphar on HN
  • Vector and quaternion code should be header-only inline functions

    From 1 comment
    • You really don't need to prefix everything with the same prefix everywhere, even in C. Using a per-module prefix that is unlikely to clash is enough. For your vector and…
      exDM69 on HN

Requests

  • Add an enum for button indices

    From 1 comment
    • This is great! I like the straightforwardness of it. I'm sure the user could find out the index values for each button on the controller, but I'd be tempted to include an enum…
      danbolt on HN

Questions

  • What is the mt prefix for?

    From 1 comment
  • Does SDL already support Xbox controllers?

    From 1 comment

Alternatives named

Category, keywords, summaries and labels on this page were made by AI (Thread Reader v2) and not checked by hand. Each point links to the comments it came from.

Add a badge to your READMEShown on HackerShow
[![Shown on HackerShow](https://hackershow.org/badge.svg)](https://hackershow.org/show/12468452)