MattJeanes / Joystick-Module

A joystick module for GMod, originally by NightEagle.
13 stars 14 forks source link

Dumb question #8

Closed MysteryPancake closed 7 years ago

MysteryPancake commented 7 years ago

I know this module is ancient and this question is probably absolutely stupid, but can't you already access joystick input using IsButtonDown and Joystick enums?

I made a tiny Lua module for binding buttons a while ago, and it seems you can detect joystick input using it, since it uses IsButtonDown. I haven't tried your module yet, but I just wanted to know if you can get more joystick functionality from using a DLL.

MattJeanes commented 7 years ago

Fitting avatar!

I'm not 100% sure, I didn't make this module - that was NightEagle, only maintaining the Lua part of it now and hosting it here as all the original links went down years ago.

However, reading the FP thread this module seems to be a DirectInput interface, and my understanding is that if you can bind the joystick keys, it's only some of them and it doesn't look like you can bind specific axis' or get a percentage of how much the axis has changed for gradual controller-like input, whereas this module allows you to do all of that.

MysteryPancake commented 7 years ago

Okay, thanks for the explanation! You can close this now I guess

MattJeanes commented 7 years ago

Cool, no worries