panzi / qjoypad

fork of qjoypad http://qjoypad.sourceforge.net/
GNU General Public License v2.0
120 stars 25 forks source link

[Minor Feature Request] BOTH mouse movement AND keyboard press for given axis #54

Open Cat-Lady opened 2 years ago

Cat-Lady commented 2 years ago

Dear maintainer of qjoypad, It would be absolutely awesome if qjoypad could, for given axis, BOTH emulate mouse movement AND keyboard press (for example, when axis passes the already existing "extreme" threeshold, the red arrow in the GUI). Currently, using the one disables the other (even if layout config is edited by hand, and keys added - they are visible in GUI, but grayed out).

Either way, thanks you for the great application, which still surpasses other programs of this kind - even stuff like Steam Input - for my uses cases. Cheers, /CatLady

panzi commented 2 years ago

Hi, I only maintain qjopypad whenever I use it (which isn't since a long time now) and only add the features that I need/want. I forked the original project after that went inactive and wasn't building with the then current Qt anymore and was lacking some feature I wanted. So right now I'm not adding any features, but if you implement it (in a clean/maintainable enough way) I would accept a pull request.

Cat-Lady commented 10 months ago

Sad to hear that, given that you're accustomed to the code and it should be relatively minor edit.

Hoever, maybe using the aforementioned knowledge of how qjoypad is structured, you could at least point me where exactly (in which src file) the thing that disables allowing to set/interpreting axis position for emulating button presses (if those were set before, and "mouse" is selected) is located? I guess I could do the edit from there, either for personal use, or as a pull request later on.

(and yes, I still find this minor feature sorely missing for various applications, from time to time).

panzi commented 10 months ago

I don't even know where that is or if that even works like that at all. I don't remember doing anything on that part. As I said, I only made it compile with a newer version of Qt and added features I wanted (that weren't about that part). I would have to study the source just like you. And I did the most changes many years ago and thus have forgotten pretty much everything.