make the indents match the arduino indents

pull/18/head
Jesse Vincent 11 years ago
parent 7e6d0a965c
commit eb20e9febb

@ -323,35 +323,65 @@ void ConsumerControl_::mute (void){
sendReport(0x01, 0);
}
void ConsumerControl_::volumeUp (void)
{ sendReport(0x02, 0); }
{
sendReport(0x02, 0);
}
void ConsumerControl_::volumeDown (void)
{ sendReport(0x03, 0); }
{
sendReport(0x03, 0);
}
void ConsumerControl_::playPause (void)
{ sendReport(0x04, 0); }
{
sendReport(0x04, 0);
}
void ConsumerControl_::stop (void)
{ sendReport(0x05, 0); }
{
sendReport(0x05, 0);
}
void ConsumerControl_::previousTrack (void)
{ sendReport(0x06, 0); }
{
sendReport(0x06, 0);
}
void ConsumerControl_::nextTrack (void)
{ sendReport(0x07, 0); }
{
sendReport(0x07, 0);
}
void ConsumerControl_::mail (void)
{ sendReport(0x08, 0); }
{
sendReport(0x08, 0);
}
void ConsumerControl_::calculator (void)
{ sendReport(0x09, 0); }
{
sendReport(0x09, 0);
}
void ConsumerControl_::wwwSearch (void)
{ sendReport(0x0a, 0); }
{
sendReport(0x0a, 0);
}
void ConsumerControl_::wwwHome (void)
{ sendReport(0x0b, 0); }
{
sendReport(0x0b, 0);
}
void ConsumerControl_::wwwFavorites (void)
{ sendReport(0x0c, 0); }
{
sendReport(0x0c, 0);
}
void ConsumerControl_::wwwRefresh (void)
{ sendReport(0x0d, 0); }
{
sendReport(0x0d, 0);
}
void ConsumerControl_::wwwStop (void)
{ sendReport(0x0e, 0); }
{
sendReport(0x0e, 0);
}
void ConsumerControl_::wwwForward (void)
{ sendReport(0x0f, 0); }
{
sendReport(0x0f, 0);
}
void ConsumerControl_::wwwBack (void)
{ sendReport(0x10, 0); }
{
sendReport(0x10, 0);
}
//================================================================================
//================================================================================

@ -140,7 +140,8 @@ extern Keyboard_ Keyboard;
//================================================================================
//================================================================================
class ConsumerControl_ {
class ConsumerControl_
{
private:
void sendReport(uint8_t cmd, uint8_t val);
public:
@ -163,8 +164,6 @@ class ConsumerControl_ {
void wwwStop (void);
void wwwForward (void);
void wwwBack (void);
};
extern ConsumerControl_ ConsumerControl;

Loading…
Cancel
Save