JAlienFX is licensed under GNU LGPL v3!
- Alienware13
- Roccat IskuFX
- Roccat Tyon
JAlienFX allows you to call the Dell AlienFX API from Java
- Get current color of every single AlienFX zone (separatly)
- Set the color for every single AlienFX zone (separatly)
- Get the number of AlienFX zones and AlienFX devices
- Get the description for every single lighting zone
- Get the description for every single device
- Set the color of all AlienFX zones at the same time
- Set the color of all AlienFX zones of a specific device at the same time
- Reset lighting
- Java JDK 8
- An AlienFX compatible device
- Windows
- The AlienFX driver
You can download precompiled versions of the library under the release tab
- Go to Windows/System32 and copy
LightFX.dll
toLightFX64.dll
- Reboot your computer
- Add
JAlienFX.jar
to your buildpath - Copy
JAlienFX64.dll
andJAlienFX32.dll
into your projects root directory
- Just leave step 1 and 2 out, everything else shoud be equal to 64bit Windows
Make sure you have LightFX.dll renamed on a 64bit Windows
- Make sure your JAlienFX.dll is in your project path, or in the same directory as your compiled programm
- Install MinGW 32/64bit and add its bin directory to your environment variables
- Copy
jni.h
andjni_md.h
from<Path to your JDK>\includes\
and<Path to your JDK>\includes\win32
directory into yoursrc\includes
directory - Copy
LFX2.h
,LFXConfigurator.h
andLFXDecl.h
from<Pogram directory>\Alienware\Command Center\AlienFX SDK\Unmanaged\includes
into yoursrc\includes
directory - Copy
LightFX.dll
andLightFXConfigurator32.dll
orLightFXConfigurator64.dll
intosrc\includes
directory. These files can be found add<Pogram directory>\Alienware\Command Center\AlienFX SDK\Unmanaged\dll
+\x64
or\x86
depending on what you want to compile the shared library for
- Navigate into your
src\includes
directory open a terminal and typex86_64-w64-mingw32-gcc AlienFXController.c -shared -L<PATH TO YOUR INCLUDE FOLDER> -lLightFX -lLightFXConfigurator64 -std=c99 -mwindows -o JAlienFX64.dll
- You should now end up without any warnings or errors and a compiled JAlienFX.dll
- Navigate into your
src\includes
directory open a terminal and typegcc AlienFXController.c -shared -L<PATH TO YOUR INCLUDE FOLDER> -lLightFX -lLightFXConfigurator32 -std=c99 -mwindows -o JAlienFX32.dll
- You should now end up without any warnings or errors and a compiled JAlienFX.dll
You can find them at jafx.pniehus.de
To distribute your programm place both .dll-files in the same directory as your programs .jar-file