fyhuang / enjoy2 Goto Github PK
View Code? Open in Web Editor NEWTransform joystick input into keyboard and mouse events (OSX)
License: MIT License
Transform joystick input into keyboard and mouse events (OSX)
License: MIT License
Hey folks - Not sure if this is possible so feel free to shut me down - However here goes nontheless
I bought a cheap Ifyoo controller from amazon, it's a 360 style controller - However playing games the buttons are backwards and I can't figure out how to remap them.
Basically B and A are switched around, and Y and X are switched. This makes playing games fairly confusing!
Enjoy2 seems to be part of the answer, but can only map to keyboard/mouse functions and not itself? :( Is this correct? If so does anyone have recommendations on how to fix?
Thanks!
Nick
I went to the suggested path (/Users/$USERNAME/Library/Application Support/Enjoy2/
) but Enjoy2 was not listed in the Application Support/
directory.
I'm using an Xbox 360 wired controller with MacOS 10.12.3 Sierra. It seems no matter what I do, the sticks and triggers always read as low. For example, mapping a stick to control the mouse results in the cursor moving diagonally to the top left corner of the screen. Pressing the stick in the opposite direction only slows this down. Controller works fine with other programs such as OpenEmu.
Hi there,
Love the app and the fact that enjoy2 now uses json.
Is there a place where people share the mappings?
Hi,
I've crafted a crude patch demonstrating how to use absolute positioning of the mouse cursor.
This is useful in games like Torchlight where you'd normally use the mouse to click somewhere in the playfield to set the PC's destination.
This patch also includes the project file upgrade for Xcode 7 (as a separate commit).
Thanks and kind regards,
Anthony.
patch-mouse-absolute.zip
It seems to detect a gamepad because I can press the triangle button in the toolbar but it doesn't detect and buttons when they're pressed. Could it be because I'm using a USB adaptor for a Dual Shock 2?
It works fine when booting into my Mavericks drive.
I have a game running in Wine with an action assigned to Windows' Insert key. I'd like to trigger this action through my controller. How can I do this?
When I plug my Logitech F310 in, it shows up, but I can't do anything with it.
I tried every key, and nothing happens. It does show up as "Logitech Dual Action #1", but surely that shouldn't make a difference.
I am running OS X 10.8.5 on a MacBook Pro mid 2009.
I created a repo to store configurations for this application to help distribute them. Not really an issue, I just want to raise awareness because there seems to be no existing method to share configurations.
When I try to do anything else or move my left joystick, it just defaults back to the Axis 1 menu.
Would it be possible for Enjoy2 to emulate other joystick buttons being pressed? Essentially I'd love a way to remap the buttons of my joystick to other buttons.
Also, it'd be nice if there was some options to prevent the joystick acting like a joystick in other apps, and instead ONLY simulating other devices (ex keyboard+mouse) rather than still acting like a joystick as well.
Ps3 controller is connected but there is no input on High Sierra(Version 10.13.2).
Enjoy2 is not working. (Possibly a high sierra driver issue!?)
Axes 1 and 2 (vertical and horizontal, respectively) only read “Low” when using the Nunchuk’s analog stick, never “High”. The app “Controllers Lite” on the Mac App Store handles the analog stick correctly. The same problem was present in the original Enjoy app.
For certain games which use "click to move" it would be good to have the option on one of the sticks to limit the mouse to within a certain radius of the centre of the screen. For example, this would work well for Diablo 1 and Diablo 2. Thanks.
Hey,
Enjoy2 is not working in OS x 10.5. If I compile the build, it simply crashes. Any idea guys?
Hi,
I'm trying to use my Thrustmaster HOTAS controller with Photoshop and there are several actions that are performed by HOLDING down a key (e.g. "[" and "]" to increase and decrease the brush size). Currently, I'd have to repeatedly bash the controller buttons (or throttle) to change the size.
Having the option of the mappings working EXACTLY like a keyboard (e.g. Hold the button and it'll repeat every X msecs) would be a great update. If we were able to specify the frequency of the repeat, that would be PERFECT! :D
Hoping you will consider this...
(PS. Also, for some reason, enjoy2 misses off one of the Axis off of my Thrustmaster; the throttle "rocker" switch. Other joystick apps/monitors pick it up just fine?)
Enjoy 2 recognizes my controller in the left panel, but pressing buttons on the controllers does nothing. If I map the keys by hand, those buttons still do nothing. Tested with Start on and off.
I'm on OSX 10.9.5 and I've tested this with both a Logitch Rumblepad 2, and a cheap-generic wired ps3 controller that shows up as "2in 1 USB Joystick".
I've got the left dpad as left arrow key ant I think it's "holding down" on the left arrow key. I've tried switching left and right arrow keys, taking it apart, and other things.
I am using Enjoy2 to play minecraft with my Xbox One S controller. However, it seems that the triggers cannot be remapped and are not highlighted when I press them. what do I do?
The app recognizes the controller (Joy-Con (R) 1) but does not label the buttons beneath. What I'm seeing is
It would be great if I could customize what is in the parenthetical
Mouse motion is a bit buggy not sure if is from my controller or from the app it only happens with this app.
When I enable thumbstick motion for mouse the mouse slowly drifts automatically to top right corner of the screen constant motion is pretty annoying
Firstly, thanks a ton for maintaining Enjoy2, its much appreciated. It is hands down the best solution for joystick mapping on the Mac, and I've tried several premium options (Controllers and Joystick Mapper) as well.
A few thoughts. I use Enjoy2 to map a DS4 for use with Kodi. When I boot my mac I always have to open Enjoy2 and click Start before I can use the gamepad, even if I have the app set to run at boot. It would be awesome if there were an auto-start option to avoid having to do this manually. Also, and this is probably a lot more work than it sounds, but it would be a nice addition if Enjoy2 could be run in the menubar as opposed to the dock.
Thanks for listening and for the app!
Nathan
Hi. I have this wireless bluetooth controller: t.ly/02Yx
I have connected it to my Macs bluetooth successfully and it is showing up as a profile in the Enjoy app. But when I press the buttons on the controller nothing happens in Enjoy. As I understand when I press buttons it should select those parameters in the app to enable me to map them. Can anyone help?
I've installed https://github.com/360Controller/360Controller , specifically release 0.14 but enjoy2 does not seem to pickup the controller action correctly. i.e. pushing right analog stick up, seems to jump between analog axis 2, analog axis 3, etc. and not stop on same one consistently within Enjoy2 app.
Steam's multiple controller support on M1 MacBooks are piss poor and I'm trying to remap my two controllers to keyboard buttons to play Kingdom Two Crowns in co-op. Using Steam's built-in controller support has the two controllers interfering each other in very odd ways (one person's input will "stutter" and cut off another player's controller input, for example).
For what it's worth, I've disabled all Steam's native controller handling options in the Steam Controller settings page, but I know for a fact that doesn't quite disable controller support because you can still navigate the Steam's Big Picture mode with the controller despite everything being "disabled". But nothing I can do about that at this point.
This is frustrating as heck, does no one else run into this issue?! 🤯
MacBook Pro (14-inch, 2021)
macOS 12.5 Monterey
Apple M1 Pro
Currently, it looks like the configuration only supports the left and right mouse button clicks, but middle mouse button would be helpful.
It detects the Wii controllers (both regular Wiimotes and Wii U Pro Controllers) connected from WJoy, but pressing the buttons doesn't seem to do anything.
Whenever i use the joystick and let it return there is cursor drift, i have tried changing deadzone but i believe the problem is with the cursor input staying on after the joystick returns to center.
Hi, does enjoy2 support mapping joystick to multiple keys?
I can only find mapping one key method on the configuration panel.
Thanks!
Jammyful says: "has anybody had any success with a wii u pro controller? so frustrating I have it connected and wjoy detects the two analogue sticks but nothing apart from sixtyforce lets me map them properly."
Hi,
the ps3 controller is recognised and listed as PS(R) gamepad, but it does not react to any of my key pressings. Any idea whether this issue is only on el capitan?
thanks
A few errors when I try to build the project (in Yosemite):
error: ./JoystickImages/dualshock.png: No such file or directory
Is this file not checked in?
The target is 10.6 but there are AutoLayout constraints that are only supported in 10.7 and above.
When playing Minecraft with a PS3 controller on OS X 10.9.1, the right stick stops responding after a while (less than a minute). The left stick and other buttons still seem to work. I tried this with the JSON config file provided at http://nongraphical.com/2013/09/playing-minecraft-with-a-gamepad-a-tutorial-for-enjoy2/.
Might be due to the way Dustforce detects input. ControllerMate works, though. Dustforce is on Humble Bundle as of time of writing. I imagine it would not work for all games that use Dustforce's method of input.
with 4 xbox pads over wireless, 2-4 map to Wireless 360 Controller #2
They also all share the same mappings, making 4 player games impossible to map.
I've been testing out Enjoy2 with a DS4 controller and have found that when I assign mouse movements, both horizontal and vertical, to any of the axises 1-4, I get mouse drift when the analog sticks are neutral. This issue occurs whether I'm using the controller wired or wirelessly. Is there a way to calibrate the dead zone so that I no longer get any mouse drift? Other than that, Enjoy2 has worked flawlessly with the DS4.
Is it possible to add 'AutoFire'? (hold button to simulate constant pressing)
It would be great if can be done without remapping (when game supports controller on its own).
Example of usage: Hammerwatch (which is clicking-intensive). It supports PS3 controller, but my fingers can't click so many times for long time.
PS: can't do it myself (have no Objective-C knowledge whatsoever).
Got my PS3 controller working with OSX Yosemite and Enjoy2 however I've found that after binding horizontal and vertical mouse movements to the left stick, after I let go of the stick the mouse still moves a bit.
Steps to replicate:
More often than not, your cursor continues to move around the screen. The sensitivity of the app seems to be set way too high.
Then when you press Stop, the mouse continues to move... which is super annoying.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.