From bae049583d7209e867619bc4f6499b2faaade83e Mon Sep 17 00:00:00 2001 From: Gergely Nagy Date: Fri, 10 Feb 2017 10:59:09 +0100 Subject: [PATCH] Correct the tapDanceAction prototype in the example With the wrong prototype, we do not override the default, and the callback never triggers. Signed-off-by: Gergely Nagy --- examples/TapDance/TapDance.ino | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/TapDance/TapDance.ino b/examples/TapDance/TapDance.ino index e6bdaf6d..1d850c78 100644 --- a/examples/TapDance/TapDance.ino +++ b/examples/TapDance/TapDance.ino @@ -43,7 +43,7 @@ static void tapDanceEsc (uint8_t tapDanceIndex, uint8_t tapCount, Akela::TapDanc tapDanceActionKeys (tapCount, tapDanceAction, Key_Esc, Key_Tab); } -void tapDanceAction (uint8_t tapDanceIndex, uint8_t tapCount, Akela::TapDance::ActionType tapDanceAction) { +void tapDanceAction (uint8_t tapDanceIndex, byte row, byte col, uint8_t tapCount, Akela::TapDance::ActionType tapDanceAction) { switch (tapDanceIndex) { case 0: return tapDanceActionKeys (tapCount, tapDanceAction, Key_Tab, Key_Esc);