Go to file
KaKi87 5dfd27c049 📝 Add usage documentation 2024-01-27 20:09:25 +01:00
.gitignore 🎉 Initial commit 2024-01-27 20:05:47 +01:00
README.md 📝 Add usage documentation 2024-01-27 20:09:25 +01:00
build.js 🎉 Initial commit 2024-01-27 20:05:47 +01:00
mod.json 🎉 Initial commit 2024-01-27 20:05:47 +01:00
package.json 🎉 Initial commit 2024-01-27 20:05:47 +01:00
yarn.lock 🎉 Initial commit 2024-01-27 20:05:47 +01:00

README.md

KeyEvent.json

JSON export of KeyEvent key codes generated from android/platform/frameworks/base/core/java/android/view/KeyEvent.java by java-parser.

Usage

import KeyEvent from 'keyevent.json' assert { type: 'json' };
console.log(KeyEvent.KEYCODE_MEDIA_PLAY_PAUSE); // -> 85