CaryCoders / Mbed 2 deprecated SX1276_GPS

Dependencies:   SX1276Lib AdaFruit_RGBLCD MCP23017 mbed

Fork of AdaFruit_RGBLCD by Justin Howard

MenuManager/keys.h

Committer:
vtraveller
Date:
2014-10-09
Revision:
25:24654d08a99a

File content as of revision 25:24654d08a99a:

#ifndef __KEYS_H__
#define __KEYS_H__

class Keys
{
public:
    enum EButtons
    {
        eButtonNone     = 0x00,
        eButtonUp       = 0x01,
        eButtonDown     = 0x02,
        eButtonLeft     = 0x04,
        eButtonRight    = 0x08,
        eButtonSelect   = 0x10,
    };
        
public:
                        Keys(I2C & in_cI2C);
                            
    virtual uint8_t     readButtons() = 0;
    
protected:
            I2C &       m_cI2C;
};

#endif // __KEYS_H__