Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
flow3r firmware
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
dos
flow3r firmware
Commits
60da641a
Commit
60da641a
authored
1 year ago
by
dx
Browse files
Options
Downloads
Patches
Plain Diff
mypystubs: fix stubs for hardware module
parent
efd66142
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
python_payload/mypystubs/hardware.pyi
+18
-18
18 additions, 18 deletions
python_payload/mypystubs/hardware.pyi
with
18 additions
and
18 deletions
python_payload/mypystubs/hardware.pyi
+
18
−
18
View file @
60da641a
...
...
@@ -7,27 +7,27 @@ def get_ctx() -> Ctx: ...
def
display_pipe_full
()
->
bool
:
...
def
display_pipe_flush
()
->
None
:
...
def
display_update
(
c
:
Ctx
)
->
None
:
...
def
display_set_backlight
()
->
None
:
...
def
display_set_backlight
(
percent
:
int
)
->
None
:
...
def
usb_connected
()
->
bool
:
...
def
usb_console_active
()
->
bool
:
...
def
version
()
->
None
:
...
def
i2c_scan
()
->
None
:
...
def
captouch_calibration_active
()
->
None
:
...
def
get_captouch
()
->
None
:
...
def
captouch_get_petal_pad_raw
()
->
None
:
...
def
captouch_get_petal_pad
()
->
None
:
...
def
captouch_get_petal_rad
()
->
None
:
...
def
captouch_get_petal_phi
()
->
None
:
...
def
captouch_set_petal_pad_threshold
()
->
None
:
...
def
version
()
->
str
:
...
def
i2c_scan
()
->
list
[
int
]
:
...
def
captouch_calibration_active
()
->
int
:
...
def
get_captouch
(
ix
:
int
)
->
bool
:
...
def
captouch_get_petal_pad_raw
(
petal
:
int
,
pad
:
int
)
->
int
:
...
def
captouch_get_petal_pad
(
petal
:
int
,
pad
:
int
)
->
int
:
...
def
captouch_get_petal_rad
(
petal
:
int
)
->
int
:
...
def
captouch_get_petal_phi
(
petal
:
int
)
->
int
:
...
def
captouch_set_petal_pad_threshold
(
petal
:
int
,
pad
:
int
,
thres
:
int
)
->
None
:
...
def
captouch_autocalib
()
->
None
:
...
def
captouch_set_calibration_afe_target
()
->
None
:
...
def
menu_button_get
()
->
None
:
...
def
application_button_get
()
->
None
:
...
def
left_button_get
()
->
None
:
...
def
right_button_get
()
->
None
:
...
def
menu_button_set_left
()
->
None
:
...
def
menu_button_get_left
()
->
None
:
...
def
scope_draw
()
->
None
:
...
def
captouch_set_calibration_afe_target
(
target
:
int
)
->
None
:
...
def
menu_button_get
()
->
int
:
...
def
application_button_get
()
->
int
:
...
def
left_button_get
()
->
int
:
...
def
right_button_get
()
->
int
:
...
def
menu_button_set_left
(
left
:
int
)
->
None
:
...
def
menu_button_get_left
()
->
int
:
...
def
scope_draw
(
ctx
:
Ctx
)
->
None
:
...
BUTTON_PRESSED_LEFT
:
int
BUTTON_PRESSED_RIGHT
:
int
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment