MouseYoke Mod for MSFS - Use your mouse as a yoke! (easy)

Поділитися
Вставка
  • Опубліковано 18 січ 2025

КОМЕНТАРІ • 132

  • @Rxbbido
    @Rxbbido Рік тому +2

    Error: mouse_yoke.py is not reachable. Is it in the same path as run.bat?..... glad im not the only one with this issue. Not trying to be funny but I am not prepared to drop 200-300 on a yoke or sidestick 😭

    • @matiaspedelhez
      @matiaspedelhez  Рік тому +1

      Hi. This error happens when the "run" executable file can't find the file "mouse_yoke.py", which is the actual script. This can happen if, for example, you move the file "run" to your desktop. They have to be together in the same folder, always. If you want to move the run file anywhere else, make sure to create a shortcut instead of moving the file itself.

  • @spicytakis
    @spicytakis Рік тому +13

    how do you enable the script?

  • @adamengku8485
    @adamengku8485 Рік тому +7

    How do i enable the script at 3:14 ?

    • @Bassie543
      @Bassie543 Рік тому +1

      press ,

    • @vals130
      @vals130 Рік тому

      @@Bassie543 You areee mannnnnnnnn

    • @Cakeytoo
      @Cakeytoo 3 місяці тому

      @@Bassie543 YOU SAVED ME!

  • @TostiTostelli
    @TostiTostelli 11 місяців тому +2

    Scripts like this are a lifesaver for the disabled.

  • @ishaanchandel6966
    @ishaanchandel6966 8 місяців тому +2

    4:49 when i move my mouse it dosent register as axis and my script is enabled too

  • @_sierra_kilo
    @_sierra_kilo Рік тому +2

    3:14 what did you press here

  • @Unbreakify
    @Unbreakify Рік тому +6

    problem, i've installed python, installed MouseYoke and yet no matter how much i've tried, the .bat script does nothing and does not calibrate. it installed the mod but now refuses to do anything else.

    • @allanj
      @allanj Місяць тому

      I can't get it to work either - I run the script, press "," and it says active - but it doesn't register my mouse movements and I cannot do calibration...

  • @SebastianRestrepo343
    @SebastianRestrepo343 Рік тому +2

    Thanks for your work! - so useful for the user that don`t have a full hotas :D

  • @deltafox52
    @deltafox52 2 роки тому +5

    Hey thanks mate you changed my life !! 😚🤩 You took me from no-flight sim because my muscular dystrophy fucked up my Saitek joystick use 4 years ago... To flight sim again !
    I started with a VFR in Ivoiry Coast, had to g/a few times on a too tight dirt airstrip, before decision to divert to a longer runway to save my life :P Thanks
    I guess next step will be IVAO :P 🤪🙏

  • @mptraxx5317
    @mptraxx5317 2 роки тому +3

    why joystick not working in game??? Only when i press start in game then working (on background) but if i have full screen game not working.

    • @BadTutoriais
      @BadTutoriais 2 роки тому +3

      Same problem with me, the only way to keep the script active is by clicking on the python console, if you click on the game the script stops

    • @mptraxx5317
      @mptraxx5317 2 роки тому +2

      @@BadTutoriais yes exact!!! or you can set your game in windowed mode not in full screen. If you set windowed mode click on taskbar and then you will able to fly. But if you click in game mouse yoke stops.

    • @F_C_T_L
      @F_C_T_L 2 роки тому +1

      Is there any solution to this problem ?

    • @Saturnium119
      @Saturnium119 2 роки тому

      Waiting any day of the week for a solution. Can't land planes with the keyboard all day long.

    • @techreside2985
      @techreside2985 Рік тому

      RUN WITH ADMIN!

  • @creamz1853
    @creamz1853 Рік тому +2

    it doesn't work on full screen and its working in windowed full screen

  • @CristianS95
    @CristianS95 11 місяців тому +2

    Hi there. I have set everything and it's works as intended, but now i only have one problem and others have it too for sure. If you run the game [it's doesn't matter if it's full screen or windowed] the scripts goes in background and you can't use the bindings of the scripts you have to put the game in background for it to work, how can i fix this? Or for now the only method is to play the game in background and the script in foreground? Thanks! :)

    • @n_eak
      @n_eak 10 місяців тому

      same problem here, only works when cmd windows is focused, anyone find the solution?

    • @CristianS95
      @CristianS95 10 місяців тому +1

      ​@@n_eak I fixed it by putting the content of archieve in the system32 folder except for the cmd, so i put the config, mouse yoke and i run the bat with admin rights and it s working, even in game :) if you run cmd as admin you will see a path, that's the path where you have to put the files :)

    • @n_eak
      @n_eak 10 місяців тому

      Thanks, i moved the config.json, the run.bat and the mouse_yoke.py to system32 folder and now i can run the run.bat as admin and works when unfocused, thanks a lot!@@CristianS95

    • @RA_Rabbid
      @RA_Rabbid 7 місяців тому

      @@CristianS95 can you make tutorial how to fix it thx

    • @CristianS95
      @CristianS95 7 місяців тому

      @@RA_Rabbid Just put the content here C:\Windows\System32 and make a shortcut and run it with admin rights

  • @VasphonTuto
    @VasphonTuto Рік тому

    You're the goat ! vJoy was never worked for me. Thanks !!

  • @p0tent49
    @p0tent49 Рік тому +2

    Annoys me how you can still see the mouse pointer though, it's unreal such a simple feature was skipped in this game.

  • @trixterr6997
    @trixterr6997 21 день тому

    Hey, can someone help me? when I'm turning on script and its 'active' raw input and conversation goes 0.00 and my mouse goes to the upper right corner, so i actually cant calibrate it because script doesn't register movement

  • @theswedishgamenerdonpc5253
    @theswedishgamenerdonpc5253 2 місяці тому

    so i cant get this to run ive followed every step, and once i launch the run.bat file, everything says inactive when i press the , key.

  • @maksafi
    @maksafi 2 місяці тому

    when i satart run.bat conversion is 50%, when i activate it, it's all 0. if i press thje center "." key, the mouse goes to the center of the screen, and conversion goes back to 50% and the x y coordinates are correct.... but it is not detectng any mouse movement or wheel in real time. please help me with this problem. i have a core i9 if this helps

  • @craggolly
    @craggolly 2 місяці тому

    The raw input just says 0 for me the entire time

  • @mauri_matta
    @mauri_matta Рік тому +1

    Hi! The mod worked perfectly until the last days. I dont know why, but if the window of the script is not visible, the actions doesnt take effect, i mean, when i change to the fs window and the cmd window behind, it stops taking effect... what could it be?? Thank you so much broo!!!

  • @dani._vks
    @dani._vks 2 роки тому +1

    It works perfectly until i have to calibrate the z axis, i dont know how...

  • @kronos711
    @kronos711 2 роки тому +2

    how do I activate the script during calibration? i heard you press a key and i tried enter but it didnt work

  • @gena2369
    @gena2369 Рік тому

    Error: mouse_yoke.py is not reachable. Is it in the same path as run.bat? What?

  • @ۥٴٴٴٴٴٴٴٴۥٴٴٴٴٴٴٴٴٴٴٴۥ

    everything works fine, but it keeps steers to left how do i fix this?

  • @friedchicken1
    @friedchicken1 7 місяців тому

    will this work with PMDG 737?

  • @abdoomohd4117
    @abdoomohd4117 10 місяців тому

    when I open run.bat it opens for half a sec and closes back

  • @lucasmartinsabbione7499
    @lucasmartinsabbione7499 Рік тому

    When i open the bat file opens and ask me some things and i did the same and now when i try to reopen the .bat file it closes. Also al the text en the cmd window didnt appear

  • @mbeloch97
    @mbeloch97 2 місяці тому

    Thanks, it works! Are u planning making this also for new MS2024?

    • @matiaspedelhez
      @matiaspedelhez  2 місяці тому +1

      Hi, hopefully it supports setting the mouse as an axis by default 😝 but if not, of course!

    • @mbeloch97
      @mbeloch97 2 місяці тому

      @@matiaspedelhez Awesome!

  • @alexcojan2352
    @alexcojan2352 Рік тому

    hi the script only works when im on the run.bat application when i am in the game it stops working any help? i tried to run the run.bat app as administrator but it doesnt work it closes after 2 seconds. I played this game with vjoy and the vjoy only worked when i ran it on admin and it ran just fine but the vjoy app stopped working after 2 days so i switched on this mod

  • @mishaq6538
    @mishaq6538 2 роки тому +1

    Is there a way to do something about freelook? I want to enjoy sightseeing without crashing my plane xd

    • @matiaspedelhez
      @matiaspedelhez  2 роки тому +2

      Yes! You can set a key to pause the script, inside config.json.

    • @Mohammed-cy5wm
      @Mohammed-cy5wm 4 місяці тому

      @@matiaspedelhez How to do it can u please guide ?

  • @RasipdoKusj
    @RasipdoKusj 7 місяців тому

    If i go back to the msfs why the controler stop working how to fix it ya?

  • @nissayx
    @nissayx 8 місяців тому

    Hello the script is working fine and all is good but it only work when i focus the script it does not work on the background

  • @Pelmenivanlavv
    @Pelmenivanlavv 10 місяців тому

    Python Error: Python is not installed or is not reachable. If you believe you have Python installed, check your PATH settings. how to solve? i installed pyton

  • @therublixcube3052
    @therublixcube3052 8 місяців тому

    @Matias Pedelhez
    Is there a list of valid keybinds to use for the config.json file? I want to map the yoke to Num 0, then map Num 0 to a button on my mouse in Logitech G Hub? I've tried KP_0, num0, etc

  • @therublixcube3052
    @therublixcube3052 Рік тому

    The `.bat` file instantly closes for me. I have Python installed and added it to PATH

    • @anttistorm8455
      @anttistorm8455 Рік тому

      Remove inside .bat "exit /b 0" and then you see what error it is.

    • @therublixcube3052
      @therublixcube3052 Рік тому

      @@anttistorm8455 I already switched over to just using VJoy and Virtual Controller, but thanks for the advice. Might revisit this since VJoy has been giving me issues with an offset center point

  • @TheHardRage13
    @TheHardRage13 Рік тому

    When im in the cockpit my cameraview is spinning out of control how do you fix that?? Btw how will you anyway switch from viewing mode to steering mode?

    • @matiaspedelhez
      @matiaspedelhez  Рік тому

      You have to create a new controller profile and remove all the default bindings, only leaving the ones required for the mod. It is shown in the video. For switching between viewing/steering you can toggle on/off the mod, using the comma key by default.

    • @TheHardRage13
      @TheHardRage13 Рік тому

      Nevermind i did not pay attention i guess to the rest of the video, fixed it. But another problem, it doesnt recognise x axis at all, y works fine

    • @TheHardRage13
      @TheHardRage13 Рік тому

      it doesnt recognise it on joy.cpl

    • @matiaspedelhez
      @matiaspedelhez  Рік тому

      @@TheHardRage13 hmm, that’s weird. Try calibrating the controller again making sure you move the cursor to every corner of the screen. Also, are you using a secondary monitor? The script will only be detecting the inputs that are inside Monitor 1.

    • @TheHardRage13
      @TheHardRage13 Рік тому

      Noo just a single, very weird indeed, it the sensitivity page on msfs it actually shows that the x is working, but everywhere including the game there is no sign that it would be working

  • @Unbreakify
    @Unbreakify Рік тому

    ok now im seriously annoyed, the yoke literally does nothing even when its active, it only does anything when i put my mouse in the bottom right corner.

  • @nicolalunanova
    @nicolalunanova Рік тому

    Hi Matias, I've tried to install step by step as your video but after launched run.bat the status is always "INACTIVE ". Can you help me?. Thanks in advance

    • @matiaspedelhez
      @matiaspedelhez  Рік тому +1

      Hi Nicola, the default key for turning on the script is comma (,). You can change that in config.json by editing it.

  • @deanojalapeno
    @deanojalapeno 8 місяців тому

    Run.bat and other setup only opens for a split second then closes, I did delete the file, clear it from my recycle bin, and downloaded a new zip. file, unzipped and unfortunately faced with the same situation. My pc specs are like NASA pc specs, so it's definitely not due to my pc not being able to run it lol

  • @hezyl5831
    @hezyl5831 Рік тому +1

    which key does it activate?

  • @5cG001
    @5cG001 Місяць тому

    script was working perfectly until today. It just crashes whenever i open the script. I didnt change any settings
    wtf is the problem

    • @5cG001
      @5cG001 Місяць тому +1

      Now the script opens but the axis is just stuck at 0,0

  • @FTSsjc
    @FTSsjc Рік тому

    how do you "enable" the script? You just hit some key, which is it?

    • @edo_v2797
      @edo_v2797 Рік тому +1

      not professional at all

  • @sid875
    @sid875 Рік тому +2

    When I tab out of msfs, it works, but when I open msfs and move my mouse, nothing happens, any clue why?

  • @aresrendezvous
    @aresrendezvous Рік тому

    Specifically on FBW A32NX, the plane is uncontrollable on the runway at high speeds and it turns sharply left and right, ruining every takeoff and landing. It seems like the script inputs very high left and right values with little mouse movements, even though it seems normal in air. Strangely enough, this issue is not present in other planes since I am able to control the A330 on the ground quite easily.

  • @anttistorm8455
    @anttistorm8455 Рік тому +1

    Awesome work !

  • @vals130
    @vals130 Рік тому

    How do I make the inactive active?

  • @BrubandJfowl
    @BrubandJfowl 2 роки тому +1

    This doesn't work. Running into issues during calibration of mouse/keys. Specifically the part where we are moving the mouse around. The black 'X' on the calibration window simply disappears and only displays a white box. Also having issues calibration of the throttle (scroll wheel). Non-responsive.

    • @matiaspedelhez
      @matiaspedelhez  2 роки тому +1

      Hello, based on what you described, your CPU is probably the source of your problem. This script has four different threads running, since doing so made development considerably simpler. So, one thread is dedicated to Python, while the others are for the mouse, keyboard, and UI. If your CPU has more than four threads, your device may have a setting that prevents the script from running effectively on all of them. I tested the script on virtual machines before releasing it, and when I limited the number of threads, the outcomes were essentially as you mentioned above. Additionally, you may post your log files and PC specs on the Issues tab on GitHub if you want your issue to be analyzed.

    • @jirehla-ab1671
      @jirehla-ab1671 Рік тому

      @@matiaspedelhez in vjoy, possible to use 2nd mouse as yoke control?

  • @n_eak
    @n_eak 10 місяців тому

    The script gets disabled if the cmd windows is disabled, any fix?

    • @n_eak
      @n_eak 10 місяців тому

      To fix this: move the config.json, the run.bat and the mouse_yoke.py to system32 folder and run the run.bat as admin. This worked for me, now it works when unfocused.

  • @brandon7099
    @brandon7099 7 місяців тому

    application does not work and closes 1 second after launching

    • @KhopDi
      @KhopDi 4 місяці тому

      same with me

  • @Scavenagr
    @Scavenagr Рік тому

    how can i enable it

  • @danielchernomorets7746
    @danielchernomorets7746 2 роки тому

    Good day,
    Installed as per instructed, but command file turning off, and when trying to open the file run.batch - its opening and after 2 seconds shuts off. How can i fix it? I tried to reinstall the Python, still issue. Many thanks in advance!

  • @ErblinGashi-mn6xb
    @ErblinGashi-mn6xb 2 роки тому

    help i get the Error: Python is not installed or is not reachable. If you believe you have Python installed, check your PATH settings.
    Press any key to continue . . . error when i open the run program

    • @matiaspedelhez
      @matiaspedelhez  2 роки тому +1

      This error is because your PC can't find Python. You should add Python to the Path, which is an environmental variable that tells Windows where Python is installed. You could add it manually, but simply re-install Python and be sure to mark as active the option "Add Python to the PATH" that is present during the installation. 0:43

    • @matejabogunovic94
      @matejabogunovic94 Місяць тому

      @@matiaspedelhez still doesnt work

  • @jokip5206
    @jokip5206 10 місяців тому

    HOW TO INVERT

  • @mattiaolla971
    @mattiaolla971 Рік тому

    Hello! I'm sorry but I'm wrongly install the program while run.bat was running. Now I'm trying to open run.bat again and the .bat window is closing after few seconds. Could you please help me to manage to find the program installed (wizard something :D) in order to uninstall and repeat all the procedure again??

    • @tappaaa
      @tappaaa Рік тому

      Having this same issue too.!

  • @AviationTake380
    @AviationTake380 2 роки тому

    It works but my problem is when I move my mouse back the yolk doesn't pull up, the yolk only pulls up when I move my mouse to the right. This is a problem because when I move the mouse to the right the plane also turns right. Same with moving the yolk down just left. Can you please help me?

  • @mark_4460
    @mark_4460 2 роки тому

    Hola. quise instalar el script pero no pude, cuando abro el .bat me sale el mensaje "El sistema no puede encontrar la ruta especificada." 6 veces repetidas y no crea ningun archivo .log, tengo python instalado, no se que podria estar mal

  • @Bretaxy
    @Bretaxy Рік тому +1

    doesnt work

  • @thealiev994
    @thealiev994 Рік тому

    It doesnt work for me.

  • @haywardcalifiredepartmentv6458

    how do i activate the scrip

  • @mrnezbitt
    @mrnezbitt 2 роки тому

    Works great thank you! Is there a way to change the mouse wheel zoom options like ctrl+scroll up to zoom instead? EDIT: Never mind, I assigned the mouse to right click+yaxis +/- to zoom in and out. For those having issues with python path etc. I'd recommend looking at installing python that allows for virtual environments so that you can set up own python environments for each task/ python project so you don't get package conflicts. Then just make a .bat file to automatically set-up the virtual environment then point to the 'run.bat' in this case.

  • @Lauralola-h9w
    @Lauralola-h9w 8 місяців тому

    It only works if the cmd window is open, but once you are in the game, it stops working, thank you, you made me lose an excellent score in the game

  • @edo_v2797
    @edo_v2797 Рік тому

    you don't tell us HOW to enable it

  • @Rainy009
    @Rainy009 Рік тому +1

    to enable script use ","

    • @matiaspedelhez
      @matiaspedelhez  Рік тому

      Remember that you can change this in the settings file! /config.json

  • @Unbreakify
    @Unbreakify Рік тому +1

    Update: Fixed it.

  • @joxzaka3316
    @joxzaka3316 2 роки тому

    Only if you add rudder axis, appreciated it mate

  • @Planepowered
    @Planepowered 2 роки тому

    it doesent work :(

  • @person_147
    @person_147 Рік тому

    thanks!

  • @97skol
    @97skol Рік тому +1

    Active Key is comma (,)

  • @fullypxid
    @fullypxid Рік тому

    goodbye to damn numb keys !

  • @edo_v2797
    @edo_v2797 Рік тому +3

    the whole calibration process is done awfully i couldn't even understand 90% of what he said

  • @matejabogunovic94
    @matejabogunovic94 Місяць тому

    Your program sucks, dislike. I checked the Python path thing and it still doesnt detect, on top of that i have the mouse yoke is not reachable even tho its in the same file as run.bat

    • @matiaspedelhez
      @matiaspedelhez  Місяць тому

      Aw, sorry to hear you had trouble! 🥺 Sounds like a classic case of user error. Maybe double-check your setup, or better yet, once you’ve mastered the basics of Python and file paths, you can show us all how its done! Good luck!

  • @hitmanabsolution4725
    @hitmanabsolution4725 Рік тому

    This Tutorial is so badly explained, haven't understood
    anything, disliked!

  • @JdJeshaiah
    @JdJeshaiah Рік тому

    completed the bindings, but mouse doenst work in flight. ideas?

  • @blahajgaeming
    @blahajgaeming 8 місяців тому

    how to run the thing, i click on cmd
    and it still says inactive

    • @therublixcube3052
      @therublixcube3052 8 місяців тому

      , toggles the yoke and . centers it, this can be changed in the config.json file
      You need the latest version of Python installed (and added to PATH in the setup), and you'll also need to go to Settings > Apps > Advanced App Settings > App execution aliases, and uncheck all entries for Python

    • @blahajgaeming
      @blahajgaeming 8 місяців тому

      @@therublixcube3052 i know the path and python thing my mom is a expert at python, and besides i didnt know the . Was to center it

  • @Lammmier
    @Lammmier 6 місяців тому

    thanks!