Skip to content

Latest commit

 

History

History
23 lines (20 loc) · 745 Bytes

File metadata and controls

23 lines (20 loc) · 745 Bytes

draw_xbox

hi! this is a python project for drawing with Xbox controller!
hang tight! it can take some time to load (max 15 seconds)

requirements:

  • python installed (version 3 or Newer)
  • pygame installed (https://github.com/pygame/pygame)
  • Xbox one/x/s controller connected with bluetooth/ usb (not working with xbox 360 controllers)

how to use:

  • joysticks- move the cursor
  • A- change color
  • B- clear board
  • X- pen down/up
  • Y- change cursor shape (not effecting drawing, just for fun)
  • RB/LB- pen thickness +/-
  • RT for 3 seconds- close
  • LT- window/full screen
  • dpad- instant shapes

how it works? this code is python based, using pygame for getting the input from the controller, and turtle (tkinter based) for the drawing ui.