Skip to content

Commit b9dc80b

Browse files
authored
Merge pull request #18 from FoamyGuy/fix_readme
fix import in readme example
2 parents 72e06ab + 5ce3a4c commit b9dc80b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ First you will need to import the libraries
104104
import usb_hid
105105
from adafruit_hid.keyboard import Keyboard
106106
from adafruit_hid.keyboard_layout_us import KeyboardLayoutUS
107-
import ducky
107+
import adafruit_ducky
108108
109109
Once this is done, define the keyboard layout and initialize the `Ducky` object.
110110

@@ -114,7 +114,7 @@ Once this is done, define the keyboard layout and initialize the `Ducky` object.
114114
keyboard = Keyboard(usb_hid.devices)
115115
keyboard_layout = KeyboardLayoutUS(keyboard) # We're in the US :)
116116
117-
duck = ducky.Ducky('duckyscript.txt', keyboard, keyboard_layout)
117+
duck = adafruit_ducky.Ducky('duckyscript.txt', keyboard, keyboard_layout)
118118
119119
Now, set up a loop which will run a line of the script every time `loop` is called.
120120

0 commit comments

Comments
 (0)