Open todirbg opened 4 years ago
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 Util/Makefile
set CC=gcc
and replace -DAPL
by -DLIN
.
In BetterMouseYoke/Makefile
, set CC=gcc
, replace -DAPL
by -DLIN
and set the LDFLAGS
to ../XP/Libs/XPLM_64.so ../Util/util.a -fvisibility=hidden -shared -rdynamic -nodefaultlibs -undefined_warning -lX11 -fPIC
and NAME=lin.xpl
.
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.
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 Resources/plugins/BetterMouseYoke/64/lin.xpl
. Does this work for you?
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
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.