Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New Button Action: Action according to analogue input value #33

Open
deinhofer opened this issue Dec 15, 2021 · 1 comment
Open

New Button Action: Action according to analogue input value #33

deinhofer opened this issue Dec 15, 2021 · 1 comment

Comments

@deinhofer
Copy link
Contributor

It would be great if you could map the sensor value (e.g. of a pressure sensor) to an analogue action.
e.g.
move the mouse cursor in x-direction by the amount of the pressure change.

This could be useful for all commands requiring a decimal number as parameter. In this case you could provide the name of the input pin, e.g.:

AT MX +A0

or even with a simple signal processing

AT MX +2*A0
@ChrisVeigl
Copy link
Contributor

this would be a great enhancment for e.g. sip/puff controlled mouse movement!

but it would require a lot of changes also in the firmware (change of data types, additional parsing of arguments, additional programming logic etc.) and we have very limited flash memory left.
BTW: the sip/puff sensor values are centered around 512 so this also must be taken into account.

so this would need a major rework of the FABI/FLipmouse firmware which will probably not happen soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants