MCPcopy Create free account
hub / github.com/TyberiusPrime/KeyToKey / TranslationHelper

Class TranslationHelper

src/handlers/debug_handlers.rs:50–50  ·  view source on GitHub ↗

this handler helps you build a translation table for MatrixToStream by outputing the keycode observed as .into() Hex-Keycode\tKeyCode:: so you can simply enter the keycode on a different keyboard after pressing a key and later sort by

Source from the content-addressed store, hash-verified

48/// so you can simply enter the keycode on a different
49/// keyboard after pressing a key and later sort by
50pub struct TranslationHelper {}
51impl<T: USBKeyOut> ProcessKeys<T> for TranslationHelper {
52 fn process_keys(&mut self, events: &mut Vec<(Event, EventStatus)>, output: &mut T) ->HandlerResult {
53 for (e, status) in iter_unhandled_mut(events) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected