 void setup() {
   pinMode(up_led, OUTPUT);
   pinMode(left_led, OUTPUT);
+  pinMode(down_led, OUTPUT);
+  pinMode(right_led, OUTPUT);
 }
 
 void loop() {
   X->update_states();
   delay(20);
 }
+


const int up_led = 13;
const int left_led = 12;

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


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