luna-sysmgr-common
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
NyxLedControl.h
Go to the documentation of this file.
1 
13 #ifndef _NYXLEDCONTROL_H_
14 #define _NYXLEDCONTROL_H_
15 
16 #include "Common.h"
17 #include "LedControl.h"
18 
19 #include <nyx/nyx_client.h>
20 
21 class NyxLedControl: public LedControl {
22 public:
23  NyxLedControl(nyx_device_id_t id);
24  virtual ~NyxLedControl();
25  virtual bool setBrightness(int keypadBrightness, int displayBrightness, LedControlCallback callback, void* ctx);
26 
28  void* m_ctx;
29 
30 private:
31  nyx_device_handle_t m_handle;
32 };
33 
34 #endif /* _NYXINPUTCONTROL_H_ */