kbrightnessutil-osx/kbbutil.h

23 lines
376 B
C
Raw Normal View History

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);
int main(int, char* []);
2014-10-21 03:39:57 +01:00
enum {
kGetSensorReadingID = 0,
kGetLEDBrightnessID = 1,
kSetLEDBrightnessID = 2,
kSetLEDFadeID = 3,
};
//}}}