mirror of
https://github.com/whscullin/apple2js.git
synced 2024-01-12 14:14:38 +00:00
4688cae5b2
Before, keyboard input used key codes to map events to Apple II keys. This worked reasonably well, but `event.keyCode` was deprecated and slated to be removed. The refactored code now uses `event.key` which returns the localized, keyboard-mapped key that the user pressed, which may be a letter or a "symbolic" key. This is then transformed into an Apple II key. One side effect of the refactoring is that the keys now light up as you type and that combinations of mouse clicks on modifiers and plain keys will take the modifiers into account. |
||
---|---|---|
.. | ||
css | ||
debugger | ||
hooks | ||
util | ||
App.tsx | ||
Apple2.tsx | ||
AudioControl.tsx | ||
BlockDisk.tsx | ||
BlockFileModal.tsx | ||
ControlButton.tsx | ||
ControlStrip.tsx | ||
CPUMeter.tsx | ||
DiskDragTarget.tsx | ||
DiskII.tsx | ||
DownloadModal.tsx | ||
Drives.tsx | ||
ErrorModal.tsx | ||
FileChooser.tsx | ||
FileModal.tsx | ||
Header.tsx | ||
Inset.tsx | ||
Keyboard.tsx | ||
LanguageCard.tsx | ||
Modal.tsx | ||
Mouse.tsx | ||
OptionsContext.tsx | ||
OptionsModal.tsx | ||
Printer.tsx | ||
ProgressModal.tsx | ||
Screen.tsx | ||
Slinky.tsx | ||
Tabs.tsx | ||
ThunderClock.tsx | ||
Videoterm.tsx |