File tree Expand file tree Collapse file tree 2 files changed +16
-1
lines changed Expand file tree Collapse file tree 2 files changed +16
-1
lines changed Original file line number Diff line number Diff line change 8
8
import sys
9
9
10
10
sys .path .insert (0 , os .path .abspath (".." ))
11
+ sys .path .insert (0 , os .path .abspath ("mocks" ))
11
12
12
13
# -- General configuration ------------------------------------------------
13
14
45
46
"audiopwmio" ,
46
47
"audiobusio" ,
47
48
"audiomp3" ,
48
- "keypad" ,
49
49
]
50
50
51
51
# Add any paths that contain templates here, relative to this directory.
Original file line number Diff line number Diff line change
1
+ # SPDX-FileCopyrightText: 2021 Jeff Eplerfor Adafruit Industries
2
+ #
3
+ # SPDX-License-Identifier: MIT
4
+ class EventQueue :
5
+ def __init__ (self ):
6
+ self .overflowed = False
7
+
8
+ def get (self ):
9
+ return None
10
+
11
+
12
+ class Keys :
13
+ def __init__ (self , pins , value_when_pressed , pull ):
14
+ self .key_count = len (pins )
15
+ self .events = EventQueue ()
You can’t perform that action at this time.
0 commit comments