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

Ctlra Mapping Event I/O POC #81

Closed
harryhaaren opened this issue Jun 11, 2018 · 0 comments
Closed

Ctlra Mapping Event I/O POC #81

harryhaaren opened this issue Jun 11, 2018 · 0 comments
Assignees

Comments

@harryhaaren
Copy link
Member

Initial implementation of the design as described in #80. The mappings can be hard-coded, but the functionality of moving events must be implemented in a generic method so the mapping library can update layers.

@harryhaaren harryhaaren self-assigned this Jun 11, 2018
harryhaaren added a commit that referenced this issue Jun 12, 2018
Testing with valgrind to fix leaks + access issues, #81

Signed-off-by: Harry van Haaren <[email protected]>
harryhaaren added a commit that referenced this issue Jun 12, 2018
See details in #81

Signed-off-by: Harry van Haaren <[email protected]>
harryhaaren added a commit that referenced this issue Jun 12, 2018
This enables the app to add and remove multiple targets.
Internally they're stored for book-keeping, but not
event-lookup is implemented yet. See #81

Signed-off-by: Harry van Haaren <[email protected]>
harryhaaren added a commit that referenced this issue Jun 12, 2018
This commit is a significant step towards POC of using Ctlra
look-up-table for event mapping. The software target events
are stored in a linear array sorted by type, so the lookup of
the target is just an array access. The function pointer is
called if one is set.

This almost completes #81.

Signed-off-by: Harry van Haaren <[email protected]>
harryhaaren added a commit that referenced this issue Jun 17, 2018
This commit is a significant step towards POC of using Ctlra
look-up-table for event mapping. The software target events
are stored in a linear array sorted by type, so the lookup of
the target is just an array access. The function pointer is
called if one is set.

This almost completes #81.

Signed-off-by: Harry van Haaren <[email protected]>
harryhaaren added a commit that referenced this issue Jun 17, 2018
This commit enables layer switching by using an internal
mappa callback function that takes a dev_t *. This allows
the mappa instance to changes its active_lut, which causes
different actions to be triggered by each input event.

This closes #81.

Signed-off-by: Harry van Haaren <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant