Tylemagne / Gopher360

Gopher360 is a free zero-config app that instantly turns your Xbox 360, Xbox One, or even DualShock controller into a mouse and keyboard. Just download, run, and relax.
GNU General Public License v3.0
942 stars 168 forks source link

This config file is too limited #91

Open nobk opened 6 years ago

nobk commented 6 years ago

Can not assign mouse left button to more than one xbox button. Can not define LT or RT as mouse button. No Fn key define to extend keys layer(eg. LT as Fn key, Hold LT and press A can assign a new keyboard key or mouse key press other than solo A) Can not assign one xbox button to more than one key press sequence(eg. Alt down, shift down, shift up, Alt up) I think redesign rev.2 will be a better way.

edongashi commented 6 years ago

Hi, I wanted to help with some of those issues but I'm hopeless in C++.

I made a "fork" of this project from scratch with support for those things. Repo and 1.0 Alpha binaries here. I would gladly contribute that project to this repository, but they use incompatible technologies. It's an early alpha and I've only tested it with dualshock 3's (that's all I have)

I handled config as follows:

B = press ESCAPE hold MENU+F4  # short press for escape hold for ALT+F4
X = press RETURN repeat # press once for ENTER, hold for repeat
A = press VK_A; VK_B; VK_C  # semicolon separation indicates a macro, this presses A B C in sequence
# or you can do
define myMacro = VK_A; VK_B; VK_C; MENU+F4
Y = press $myMacro hold $doSomethingElse
ModA = press LButton; LButton # double click when MOD (FN) key is pressed
nobk commented 6 years ago

Your project will made an OSK, but I do not need any OSK becasue my device like this. What I need is only a good key mapper and mouse replacement. p1

edongashi commented 6 years ago

Ahh that is completely out of scope, I've focused my project on couch TV-PC browsing. (The menu is opt-in though, it won't show until you press the button.)

What OS is that device running? If it's a windows we could make a console port of the app.

nobk commented 6 years ago

OS: Windows 10 x64, for gaming on the bed. Or standing wait in metro station. https://www.youtube.com/watch?v=BkFVS7vaT-A

edongashi commented 6 years ago

Regarding configuration joy2key is probably the most advanced, check it out to see if it fulfills your needs https://joytokey.net

nobk commented 6 years ago

I prefer JoyXoff more, but still looking for an open source replacement.