Merge pull request #60 from algernon/h/mousekeys-vs-dot-a-linkage

MouseKeys: Make MouseKeys static
pull/62/head
Jesse Vincent 8 years ago committed by GitHub
commit 48c569bec0

@ -56,5 +56,3 @@ static bool handleMouseKeys(Key mappedKey, byte row, byte col, uint8_t keyState)
MouseKeys_::MouseKeys_(void) { MouseKeys_::MouseKeys_(void) {
event_handler_hook_add (handleMouseKeys); event_handler_hook_add (handleMouseKeys);
} }
MouseKeys_ MouseKeys;

@ -7,4 +7,4 @@ class MouseKeys_ {
MouseKeys_ (void); MouseKeys_ (void);
}; };
extern MouseKeys_ MouseKeys; static MouseKeys_ MouseKeys;

Loading…
Cancel
Save