astyle to get us closer to cpplint-clean

pull/389/head
Jesse Vincent 8 years ago
parent a16411ff93
commit 3097fd0745
No known key found for this signature in database
GPG Key ID: 122F5DF7108E4046

@ -93,9 +93,10 @@ OneShot::mask (byte row, byte col) {
if (col >= 8) {
col = col - 8;
rightMask |= SCANBIT(row, col);
} else
} else {
leftMask |= SCANBIT(row, col);
}
}
void
OneShot::unmask(byte row, byte col) {
@ -105,9 +106,10 @@ OneShot::unmask (byte row, byte col) {
if (col >= 8) {
col = col - 8;
rightMask &= ~(SCANBIT(row, col));
} else
} else {
leftMask &= ~(SCANBIT(row, col));
}
}
bool
OneShot::isMasked(byte row, byte col) {
@ -117,9 +119,10 @@ OneShot::isMasked (byte row, byte col) {
if (col >= 8) {
col = col - 8;
return rightMask & SCANBIT(row, col);
} else
} else {
return leftMask & SCANBIT(row, col);
}
}
Key
OneShot::eventHandlerHook(Key mappedKey, byte row, byte col, uint8_t keyState) {

@ -29,13 +29,13 @@ class OneShot : public KaleidoscopePlugin {
public:
OneShot(void);
virtual void begin (void) final;
void begin(void) final;
static bool isActive(void);
static void cancel(bool withStickies);
static void cancel(void) {
cancel(false);
};
}
static uint16_t timeOut;
static uint16_t holdTimeOut;

Loading…
Cancel
Save