XBox_Controller_Linux_Interface
Languages and libraries
c library
SHOW HN2016
XBox_Controller_Linux_Interface
Simple C library for an XBox Controller (Linux) for easy use in games
github.com36points
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
What is the "mt" prefix for?
gravypod on HN
Does SDL already support Xbox controllers?
From 1 comment
Cool, does SDL already support the Xbox controller?
Hydraulix989 on HN
Alternatives named
SDL
From 1 comment
Cool, does SDL already support the Xbox controller?
Hydraulix989 on HN