slidershim icon indicating copy to clipboard operation
slidershim copied to clipboard

Added PD Future Tone Keyboard Layout

Open UiharuKazari2008 opened this issue 2 years ago • 1 comments

Rough Addition so I would assume you would be able to clean up more to your release standard but works to add more generic support for PDFT

const PDFTA_KB_MAP: [usize; 41] = [
    0x5a /* Z */, 0x50 /* P */, 
    0x5a /* Z */, 0x50 /* P */, 
    0x5a /* Z */, 0x4F /* O */, 
    0x5a /* Z */, 0x4F /* O */, 
    0x58 /* X */, 0x49 /* I */, 
    0x58 /* X */, 0x49 /* I */, 
    0x58 /* X */, 0x55 /* U */, 
    0x58 /* X */, 0x55 /* U */,
    0x43 /* C */, 0x52 /* R */, 
    0x43 /* C */, 0x52 /* R */, 
    0x43 /* C */, 0x45 /* E */, 
    0x43 /* C */, 0x45 /* E */,
    0x56 /* V */, 0x57 /* W */, 
    0x56 /* V */, 0x57 /* W */, 
    0x56 /* V */, 0x51 /* Q */, 
    0x56 /* V */, 0x51 /* Q */,
    0x1b, 0x1b, 0x1b, 0x1b, 0x1b, 0x1b, 0x1b, 0x1b, 0x1b  // VK_ESCAPE
];

I'm on a cab so I don't know to "just ignore air notes" or maybe set them to slide?

The 4 buttons are set to ZXCV (requires update to input mappings ini file) and the slides are set to the top keyboard row as those seems to be the zones that respond when you enable hardware slider and allow for actual slide detection and not fake slides

P.S. I dont know Rust but i it compiles and works

EDIT: I also rolled in a check box to hide on launch

UiharuKazari2008 avatar Nov 25 '23 12:11 UiharuKazari2008

This is related to Issue #15

UiharuKazari2008 avatar Nov 25 '23 12:11 UiharuKazari2008