From 22ffe12b69b21a35e28185d58b337679cf5a4f44 Mon Sep 17 00:00:00 2001 From: Benjamin Loison <12752145+Benjamin-Loison@users.noreply.github.com> Date: Tue, 4 Jul 2023 17:53:30 +0200 Subject: [PATCH] Remove unnecessary indentation in `README.md` --- README.md | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index 5e9a196..899a12c 100644 --- a/README.md +++ b/README.md @@ -15,16 +15,16 @@ Watch the tutorial here: https://www.youtube.com/watch?v=LFDGgFRqVIs ## Example Usage ```python - >>> import pyautogui - >>> import pydirectinput - >>> pydirectinput.moveTo(100, 150) # Move the mouse to the x, y coordinates 100, 150. - >>> pydirectinput.click() # Click the mouse at its current location. - >>> pydirectinput.click(200, 220) # Click the mouse at the x, y coordinates 200, 220. - >>> pydirectinput.move(None, 10) # Move mouse 10 pixels down, that is, move the mouse relative to its current position. - >>> pydirectinput.doubleClick() # Double click the mouse at the - >>> pydirectinput.press('esc') # Simulate pressing the Escape key. - >>> pydirectinput.keyDown('shift') - >>> pydirectinput.keyUp('shift') +>>> import pyautogui +>>> import pydirectinput +>>> pydirectinput.moveTo(100, 150) # Move the mouse to the x, y coordinates 100, 150. +>>> pydirectinput.click() # Click the mouse at its current location. +>>> pydirectinput.click(200, 220) # Click the mouse at the x, y coordinates 200, 220. +>>> pydirectinput.move(None, 10) # Move mouse 10 pixels down, that is, move the mouse relative to its current position. +>>> pydirectinput.doubleClick() # Double click the mouse at the +>>> pydirectinput.press('esc') # Simulate pressing the Escape key. +>>> pydirectinput.keyDown('shift') +>>> pydirectinput.keyUp('shift') ``` ## Documentation