TheoryOfNekomata
7889c4cdd7
Add MIDI event handling
Support MIDI event handling by suppling a `MIDIInput` object through the `midiInput` prop.
пре 4 година
TheoryOfNekomata
6168c18c3c
Remove channels, overhaul styling of components
Make component single channel only, in order to have a more concise API.
пре 4 година
TheoryOfNekomata
1ab5104bc4
Add demo, fix keyboard event handling
Add demo for GitHub Pages
Also disable keyboard event handling when one of Shift, Ctrl, Alt, or Cmd is pressed.
пре 4 година
TheoryOfNekomata
b6ea02a3ad
Add keyboard map
Keyboard map is the one responsible for handling mouse, touch, and keyboard events. This is to keep the keyboard rendering and external events handling separate.
пре 4 година
TheoryOfNekomata
d9eb01b7ea
Make function prototypes rigid
Convert interfaces to types for service functions
пре 4 година
TheoryOfNekomata
bc2c997c93
Fix metrics, SSR support
Add SSR support by checking to render server-side or client-side.
Also made key offsets as trade-off of accuracy and pixel-perfectness.
пре 4 година
TheoryOfNekomata
c4032ed7f4
Change metrics
Use compromise for metrics to produce a more aesthetic rendering.
пре 4 година
TheoryOfNekomata
518877565b
Make accidentals more prominent
Adjust metrics of styled accidentals.
пре 4 година
TheoryOfNekomata
d8163ebe7f
Remove width dependency
Adding width to calculation does not affect the `getKeyWidth` and `getKeyLeft` methods.
пре 4 година
TheoryOfNekomata
098cdef69b
Improve memoization
Dedicate caches to same functions
пре 4 година
TheoryOfNekomata
c7be66173a
Add width dependency
This is to cover repainting of keys using the widths.
пре 4 година
TheoryOfNekomata
6dc7535ee8
Implement performance improvements
Prefer using React memoization instead of mem when using inside React.
пре 4 година
TheoryOfNekomata
2daa01d6f6
Improve performance
Add memoization to expensive pure functions because the library involves a lot of computation under the hood.
пре 4 година
TheoryOfNekomata
4be84388d0
Add another styled story
Demonstrate scaling of detail in styled key set.
пре 4 година
TheoryOfNekomata
aafaf3e10d
Add more customizability
Make custom theme scalable and more flexible in terms of customization.
пре 4 година
TheoryOfNekomata
5ec0850e48
Export styled keys
Export styled keys for customization of the component.
пре 4 година
TheoryOfNekomata
25ef42763f
Improve component styling
Use custom styled keys and add pressed keys for styled key set.
пре 4 година
TheoryOfNekomata
fd3733e835
Improve key offsets
Refer to URL in comment for details.
пре 4 година
TheoryOfNekomata
e15e8fb9a7
Update storybook
Add styled keyboard made out of scalable HTML elements.
пре 4 година
TheoryOfNekomata
f8ec9ef2b4
Initial commit
Add files generated from tsdx.
пре 4 година