From 5ce3a4c5cf025782ee7a78eb49a07c7741e4de4a Mon Sep 17 00:00:00 2001 From: foamyguy Date: Mon, 26 Feb 2024 11:00:45 -0600 Subject: [PATCH] fix import in readme example --- README.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.rst b/README.rst index 13958bc..ac15f19 100644 --- a/README.rst +++ b/README.rst @@ -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. @@ -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.