Minor styling fixes.

Renamed define to GHOSTING_MATRIX.
Deleted unused files from CK3.
This commit is contained in:
CryHam 2016-02-20 08:33:39 +01:00
parent 6687470ae7
commit 57a75851e2
5 changed files with 14 additions and 172 deletions

View file

@ -146,9 +146,11 @@ typedef struct KeyGhost {
KeyPosition saved; // state before ghosting
} __attribute__((packed)) KeyGhost;
// utility
// utility
inline uint8_t keyOn(/*KeyPosition*/uint8_t st)
{ return (st == KeyState_Press || st == KeyState_Hold) ? 1 : 0; }
{
return (st == KeyState_Press || st == KeyState_Hold) ? 1 : 0;
}
// ----- Functions -----