Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ First you will need to import the libraries
import usb_hid
from adafruit_hid.keyboard import Keyboard
from adafruit_hid.keyboard_layout_us import KeyboardLayoutUS
import ducky
import adafruit_ducky

Once this is done, define the keyboard layout and initialize the `Ducky` object.

Expand All @@ -114,7 +114,7 @@ Once this is done, define the keyboard layout and initialize the `Ducky` object.
keyboard = Keyboard(usb_hid.devices)
keyboard_layout = KeyboardLayoutUS(keyboard) # We're in the US :)

duck = ducky.Ducky('duckyscript.txt', keyboard, keyboard_layout)
duck = adafruit_ducky.Ducky('duckyscript.txt', keyboard, keyboard_layout)

Now, set up a loop which will run a line of the script every time `loop` is called.

Expand Down