Read Me
Legal stuff
-----------
This application is published under a GPL v2 license. Read the file gpl-2.0.txt for the complete license.
If you don't have that file you can download it from http://www.gnu.org/licenses/gpl-2.0.txt
You read it? Good! So, it says you can redistribute, modify and do basically anything you want with this application so long you
1) don't charge money, or anything,
2) you should include this license and
3) any derivative work you do from this should remain under this license.
Building it
-----------
Download the souce files, either in the SolarApp-V.V.tar.gz from SourceForge, or use the git repository.
Chances are if you are reading this file you already did it.
This project uses libusb, so be sure you have the development package installed.
The project was created using Qt Creator, so you might want to install it, but it shall not be required.
But you will need the qmake, g++ and libusd-dev packages.
Type "qmake -makefile" to create the Makefile.
Once you are ready to build just type "make", if you are lucky enough it will just build and you will have a beautiful executable file calle LogitechK750, just make your system launch it on startup and an icon will sit in the tray, click it for battery and light information.
If you weren't lucky, check for dependencies and read the error messages, they will give clues on what went wrong.
Troubleshoot:
-------------
Check the file Makefile, the LIBS and INCPATH lines to make sure your libraries and includes paths are ok.
If you have an error about write access while running the program, you might need to set your device to read/write, in /etc/udev/rules.d create a file (with the naming convention of your distro, ie 11-logitech.rules) and add the following line to it
SUBSYSTEM=="usb",ATTR{idVendor}=="046d",ATTR{idProduct}=="c52b",MODE="0666",GROUP="users"
TODO:
-----
* a configure script to create the Makefile with appropiate paths and stuff
* create an event trigger for the light button on the keyboard
* add an option to start automatically on startup