   digitalWrite(left_led, HIGH);
 }
 
+void down_keyup(void)
+{
+  digitalWrite(down_led, LOW);
+}
+
+void right_keydown(void)
+{
+  digitalWrite(right_led, HIGH);
+}
+
+void right_keyup(void)
+{
+  digitalWrite(right_led, LOW);
+}
+
+
+void down_keydown(void)
+{
+  digitalWrite(down_led, HIGH);
+}
 
 void up_keyup(void)
 {


static const struct mg_three_callbacks clbs_down = {
  .up_fnc = &up_keydown,
  .down_fnc = NULL,
  .left_fnc = &left_keydown,
  .right_fnc = NULL,
  .a_fnc = NULL,
  .b_fnc = NULL,
  .c_fnc = NULL,


const int up_led = 13;
const int left_led = 12;
const int down_led = 11;
const int right_led = 10;

static const struct mg_pin_setup ps = {
  .D0 = 1,     // (UP key)
