Talk:Enums/JOYSTICK

From Garry's Mod
Revision as of 11:29, 18 April 2017 by Jvs (Talk | contribs)
Jump to: navigation, search

I just found out there's KEY_XBUTTON_*, KEY_XSTICK1_*, etc, which are actually joystick buttons (their numerical values are in the ranges laid out here). Would it be right to put these KEY enums in here? They would have to be removed from Enums/KEY if so.

KEY_COUNT doesn't include them and neither does KEY_LAST. This makes it fairly clear that they are intended to be JOYSTICK enums.

--NeatNit 10:14, 18 April 2017 (UTC)

Well from what I can see that's intended by Valve, they're defined here like this so it's only fair the direct ENUM binding would be like this I suppose. --Jvs 11:24, 18 April 2017 (UTC)
Ok I can see why it's annoying, especially if someone uses the enums directly. --Jvs 11:29, 18 April 2017 (UTC)
Personal tools
Navigation