@@ -393,14 +393,14 @@ class PinsLyrat43Class : public DriverPins {
393393 addI2S (PinFunction::CODEC, 0 , 5 , 25 , 26 , 35 );
394394
395395 // add other pins
396- addPin (PinFunction::KEY, 36 , PinLogic::Input , 1 );
397- addPin (PinFunction::KEY, 39 , PinLogic::Input , 2 );
398- addPin (PinFunction::KEY, 33 , PinLogic::Input , 3 );
399- addPin (PinFunction::KEY, 32 , PinLogic::Input , 4 );
400- addPin (PinFunction::KEY, 13 , PinLogic::Input , 5 );
401- addPin (PinFunction::KEY, 27 , PinLogic::Input , 6 );
402- addPin (PinFunction::AUXIN_DETECT, 12 , PinLogic::InputActiveHigh );
403- addPin (PinFunction::HEADPHONE_DETECT, 19 , PinLogic::InputActiveHigh );
396+ addPin (PinFunction::KEY, 36 , PinLogic::InputActiveLow , 1 );
397+ addPin (PinFunction::KEY, 39 , PinLogic::InputActiveLow , 2 );
398+ addPin (PinFunction::KEY, 33 , PinLogic::InputActiveLow , 3 );
399+ addPin (PinFunction::KEY, 32 , PinLogic::InputActiveLow , 4 );
400+ addPin (PinFunction::KEY, 13 , PinLogic::InputActiveLow , 5 );
401+ addPin (PinFunction::KEY, 27 , PinLogic::InputActiveLow , 6 );
402+ addPin (PinFunction::AUXIN_DETECT, 12 , PinLogic::InputActiveLow );
403+ addPin (PinFunction::HEADPHONE_DETECT, 19 , PinLogic::InputActiveLow );
404404 addPin (PinFunction::PA, 21 , PinLogic::Output);
405405 addPin (PinFunction::LED, 22 , PinLogic::Output);
406406 }
@@ -422,12 +422,12 @@ class PinsLyrat42Class : public DriverPins {
422422 addI2S (PinFunction::CODEC, 0 , 5 , 25 , 26 , 35 );
423423
424424 // add other pins
425- addPin (PinFunction::KEY, 36 , PinLogic::Input ,1 );
426- addPin (PinFunction::KEY, 39 , PinLogic::Input ,2 );
427- addPin (PinFunction::KEY, 33 , PinLogic::Input ,3 );
428- addPin (PinFunction::KEY, 32 , PinLogic::Input ,4 );
429- addPin (PinFunction::KEY, 13 , PinLogic::Input ,5 );
430- addPin (PinFunction::KEY, 27 , PinLogic::Input ,6 );
425+ addPin (PinFunction::KEY, 36 , PinLogic::InputActiveLow ,1 );
426+ addPin (PinFunction::KEY, 39 , PinLogic::InputActiveLow ,2 );
427+ addPin (PinFunction::KEY, 33 , PinLogic::InputActiveLow ,3 );
428+ addPin (PinFunction::KEY, 32 , PinLogic::InputActiveLow ,4 );
429+ addPin (PinFunction::KEY, 13 , PinLogic::InputActiveLow ,5 );
430+ addPin (PinFunction::KEY, 27 , PinLogic::InputActiveLow ,6 );
431431 addPin (PinFunction::AUXIN_DETECT, 12 , PinLogic::InputActiveLow);
432432 addPin (PinFunction::PA, 21 , PinLogic::Output);
433433 addPin (PinFunction::LED, 22 , PinLogic::Output, 1 );
@@ -452,11 +452,11 @@ class PinsLyratMiniClass : public DriverPins {
452452 addI2S (PinFunction::CODEC_ADC, 0 , 32 , 33 , -1 , 36 , 1 );
453453
454454 // add other pins
455- addPin (PinFunction::KEY, 5 , PinLogic::Input , 1 );
456- addPin (PinFunction::KEY, 4 , PinLogic::Input , 2 );
457- addPin (PinFunction::KEY, 2 , PinLogic::Input , 3 );
458- addPin (PinFunction::KEY, 3 , PinLogic::Input , 4 );
459- addPin (PinFunction::KEY, 1 , PinLogic::Input , 5 );
455+ addPin (PinFunction::KEY, 5 , PinLogic::InputActiveLow , 1 );
456+ addPin (PinFunction::KEY, 4 , PinLogic::InputActiveLow , 2 );
457+ addPin (PinFunction::KEY, 2 , PinLogic::InputActiveLow , 3 );
458+ addPin (PinFunction::KEY, 3 , PinLogic::InputActiveLow , 4 );
459+ addPin (PinFunction::KEY, 1 , PinLogic::InputActiveLow , 5 );
460460 // addPin(PinFunction::KEY, 0, 6};
461461 addPin (PinFunction::HEADPHONE_DETECT, 19 , PinLogic::InputActiveLow);
462462 addPin (PinFunction::PA, 21 , PinLogic::Output);
@@ -482,12 +482,12 @@ class PinsAudioKitEs8388v1Class : public DriverPins {
482482 addI2S (PinFunction::CODEC, 0 , 27 , 25 , 26 , 35 );
483483
484484 // add other pins
485- addPin (PinFunction::KEY, 36 , PinLogic::Input , 1 );
486- addPin (PinFunction::KEY, 13 , PinLogic::Input , 2 );
487- addPin (PinFunction::KEY, 19 , PinLogic::Input , 3 );
488- addPin (PinFunction::KEY, 23 , PinLogic::Input , 4 );
489- addPin (PinFunction::KEY, 18 , PinLogic::Input , 5 );
490- addPin (PinFunction::KEY, 5 , PinLogic::Input , 6 );
485+ addPin (PinFunction::KEY, 36 , PinLogic::InputActiveLow , 1 );
486+ addPin (PinFunction::KEY, 13 , PinLogic::InputActiveLow , 2 );
487+ addPin (PinFunction::KEY, 19 , PinLogic::InputActiveLow , 3 );
488+ addPin (PinFunction::KEY, 23 , PinLogic::InputActiveLow , 4 );
489+ addPin (PinFunction::KEY, 18 , PinLogic::InputActiveLow , 5 );
490+ addPin (PinFunction::KEY, 5 , PinLogic::InputActiveLow , 6 );
491491 addPin (PinFunction::AUXIN_DETECT, 12 , PinLogic::InputActiveLow);
492492 addPin (PinFunction::HEADPHONE_DETECT, 39 , PinLogic::InputActiveLow);
493493 addPin (PinFunction::PA, 21 , PinLogic::Output);
@@ -511,12 +511,12 @@ class PinsAudioKitEs8388v2Class : public DriverPins {
511511 addI2S (PinFunction::CODEC, 0 , 5 , 25 , 26 , 35 );
512512
513513 // add other pins
514- addPin (PinFunction::KEY, 36 , PinLogic::Input , 1 );
515- addPin (PinFunction::KEY, 13 , PinLogic::Input , 2 );
516- addPin (PinFunction::KEY, 19 , PinLogic::Input , 3 );
517- addPin (PinFunction::KEY, 23 , PinLogic::Input , 4 );
518- addPin (PinFunction::KEY, 18 , PinLogic::Input , 5 );
519- addPin (PinFunction::KEY, 5 , PinLogic::Input , 6 );
514+ addPin (PinFunction::KEY, 36 , PinLogic::InputActiveLow , 1 );
515+ addPin (PinFunction::KEY, 13 , PinLogic::InputActiveLow , 2 );
516+ addPin (PinFunction::KEY, 19 , PinLogic::InputActiveLow , 3 );
517+ addPin (PinFunction::KEY, 23 , PinLogic::InputActiveLow , 4 );
518+ addPin (PinFunction::KEY, 18 , PinLogic::InputActiveLow , 5 );
519+ addPin (PinFunction::KEY, 5 , PinLogic::InputActiveLow , 6 );
520520 addPin (PinFunction::AUXIN_DETECT, 12 , PinLogic::InputActiveLow);
521521 addPin (PinFunction::HEADPHONE_DETECT, 39 , PinLogic::InputActiveLow);
522522 addPin (PinFunction::PA, 21 , PinLogic::Output);
@@ -540,12 +540,12 @@ class PinsAudioKitAC101Class : public DriverPins {
540540 addI2S (PinFunction::CODEC, 0 , 27 , 26 , 25 , 35 );
541541
542542 // add other pins
543- addPin (PinFunction::KEY, 36 , PinLogic::Input , 1 );
544- addPin (PinFunction::KEY, 13 , PinLogic::Input , 2 );
545- addPin (PinFunction::KEY, 19 , PinLogic::Input , 3 );
546- addPin (PinFunction::KEY, 23 , PinLogic::Input , 4 );
547- addPin (PinFunction::KEY, 18 , PinLogic::Input , 5 );
548- addPin (PinFunction::KEY, 5 , PinLogic::Input , 6 );
543+ addPin (PinFunction::KEY, 36 , PinLogic::InputActiveLow , 1 );
544+ addPin (PinFunction::KEY, 13 , PinLogic::InputActiveLow , 2 );
545+ addPin (PinFunction::KEY, 19 , PinLogic::InputActiveLow , 3 );
546+ addPin (PinFunction::KEY, 23 , PinLogic::InputActiveLow , 4 );
547+ addPin (PinFunction::KEY, 18 , PinLogic::InputActiveLow , 5 );
548+ addPin (PinFunction::KEY, 5 , PinLogic::InputActiveLow , 6 );
549549 addPin (PinFunction::LED, 22 , PinLogic::Output, 0 );
550550 addPin (PinFunction::LED, 19 , PinLogic::Output, 1 );
551551 addPin (PinFunction::HEADPHONE_DETECT, 5 , PinLogic::InputActiveLow);
0 commit comments