8000 GitHub - tarcisioe/batmouse
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

tarcisioe/batmouse

Repository files navigation

Batmouse

codecov

A library for getting battery status and percentage from wireless mice.

Currently supports Linux's /sys/class/power_supply interface only.

Basic usage

batmouse can list all known peripherals plugged through the get_sys_power_supply_mice function (for Linux's sys interface):

from batmouse.api import get_sys_power_supply_mice

for mouse in get_sys_power_supply_mice():
    print(mouse.model)
    print(mouse.percentage.value)
    print(mouse.percentage)

Contributing

Check our contributing guide to know how to develop on Batmouse and contribute to our project.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

0