leng-yue / py-scrcpy-client

An easy to use python scrcpy client
https://leng-yue.github.io/py-scrcpy-client/
MIT License
283 stars 71 forks source link

API documentation doesn't have examples #19

Closed radiumatic closed 2 years ago

radiumatic commented 2 years ago

Please, just for respecting humanity, create a proper doc for your code How in the mars can I find out that what is this int parameter in back_or_turn_screen_on function? Screenshot_2022-04-29_01-22-58 And you didn't mention anywhere what is that ACTION_DOWN And its just one function Thanks very much

leng-yue commented 2 years ago

Hi, ACTION_DOWN is defined in scrcpy/const.py.

If you read the guide, there is a scrcpy.ACTION_DOWN in the example.

Even if you don't read the guide, your IDE should suggest you add from scrcpy import ACTION_DOWN when you type ACTION_DOWN.

radiumatic commented 2 years ago

Sorry I didn't notice. anyways,thanks