Just in case somebody gets confused:
SDL's HAT switch api also reports integers like that
It actually reports a
bitfield, i.e. one bit for each direction (the constants for the diagonals are just values that have two of the bits set).
The Sega Saturn pads were fantastic for fighting games, better than sticks for many games. A lot of serious fighting gamers like myself consider them to be the finest pads ever made. The 6-button Street Fighter layout helps too.
Well, it was based on the 6-button controller for the Mega Drive, which in turn was made specifically for fighting games (and more specifically, Street Fighter II), so it's not surprising it's actually good for those.
Also something that Mega Drive controller did extremely well was the D-pad responsiveness. Actually, it's pretty much the same as the one in the 3-button controller, but it has way more spacing around it (you can even see
under the D-pad), but that means that pressing in any direction pretty much takes zero effort, while the D-pad still won't be overly sensitive and trigger directions that weren't supposed to be pressed. The best part is that the design is so simple that even cheap Chinese clone knock-offs tend to be good o.O (at least in my experience)
The reason hats suck for fighters is that it's usually more difficult to hit a diagonal on them. With a sticks it usually isn't a problem, but for pads it's actually really annoying.
Something the Mega Drive and the Saturn controllers avert. It looks like the XBox One controller is using that kind of D-pad too, but it could be just the looks for all I know =P