2014-10-21 03:39:57 +01:00
|
|
|
/*
|
|
|
|
* kbbutil.h - header file for kbbutil.c
|
|
|
|
*/
|
|
|
|
|
|
|
|
// includes {{{
|
|
|
|
#include <mach/mach.h>
|
|
|
|
#include <stdio.h>
|
|
|
|
#include <stdlib.h>
|
|
|
|
#include <IOKit/IOKitLib.h>
|
|
|
|
//}}}
|
|
|
|
|
|
|
|
// prototypes {{{
|
|
|
|
int getKBBrightness(void);
|
|
|
|
bool setKBBrightness(int);
|
2015-04-30 21:34:26 +01:00
|
|
|
int main(int, char* []);
|
2014-10-21 03:39:57 +01:00
|
|
|
enum {
|
|
|
|
kGetSensorReadingID = 0,
|
|
|
|
kGetLEDBrightnessID = 1,
|
|
|
|
kSetLEDBrightnessID = 2,
|
|
|
|
kSetLEDFadeID = 3,
|
|
|
|
};
|
|
|
|
//}}}
|