Commit 144a558
keyboard: Refactor status validation.
Reuse the maple enum function that already validates
a device and status prior to returning it.1 parent 9940b29 commit 144a558
1 file changed
Lines changed: 3 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
534 | 534 | | |
535 | 535 | | |
536 | 536 | | |
537 | | - | |
538 | | - | |
539 | | - | |
540 | | - | |
541 | | - | |
| 537 | + | |
542 | 538 | | |
543 | | - | |
| 539 | + | |
544 | 540 | | |
545 | 541 | | |
546 | | - | |
| 542 | + | |
547 | 543 | | |
548 | 544 | | |
549 | 545 | | |
| |||
0 commit comments