-
Notifications
You must be signed in to change notification settings - Fork 13
Added linux support for BetterMouseYoke #1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
Used X11 xlib and extensions/XInput2. Cursor change with theme cursors. TODO Update makefile.
Used X11 xlib and extensions/XInput2. Cursor change with defaul theme cursors. TODO update makefile
query mouse button on every flight loop
|
I've just moved my installation from Windows to Linux. I would love for this to be merged. @todirbg Have you a build I can test? |
|
Yes, check my fork releases. |
|
For those who try to compile it themselves: In the Also copy the Then install the required headers (on Debian this is In the I will figure out what to do with the resulting file tomorrow. |
|
How do i use this? I followed iblue's guide to compiling it and I assume I'm supposed to put it in the Resources/plugins/BetterMouseYoke_1.5 folder, but it didn't work. I'm a Linux noob, so I'm sorry if I'm missing something obvious. |
|
If I remember correctly, it goes to |
|
I renamed the folder from BetterMouseYoke_1.5 to BetterMouseYoke and added a folder named "64" and put lin.xpl inside it, but no, it didn't work... |
|
@kikiokol attach your xplane log.txt if able or look into it for clues. |
|
Ok so i switched to Manjaro and now it works, i don't know what i did wrong last time but now it works. Thanks |
|
Hello , i try build the file ( I Use Arch ) , but i can't. I clone this https://github.com/smiley22/XPPlugins , and then i do this things : In the Util/Makefile set CC=gcc and replace -DAPL by -DLIN. Also copy the Resources/plugins/XPLM_64.so from your X-Plane folder to XP/Libs/. Then install the required headers (on Debian this is sudo apt get install libx11-dev libxi-dev libxcursor-dev). In the Util directory, run make, then in the BetterMouseYoke also run make. I will figure out what to do with the resulting file tomorrow. But i get an error like this . Util]$ sudo make A lot of errors like this |
Hi I've added support for linux trough xlib. To compile it needs linking -lX11 and compiler option -fPIC to add libutil library. I compiled it with gcc via CodeBlocks and I don't have makefile for it. It has been tested only on my Mint 19.3. It changes cursors with theme ones instead of the provided pngs.