js: Remove the charCode argument from key()

It hasn't been used in a while.
This commit is contained in:
Ben Harris
2022-10-24 22:37:30 +01:00
parent 9698732d65
commit 0db5fb525b
2 changed files with 3 additions and 3 deletions

2
emcc.c
View File

@ -262,7 +262,7 @@ void mousemove(int x, int y, int buttons)
/*
* Keyboard handler called from JS.
*/
void key(int keycode, int charcode, const char *key, const char *chr,
void key(int keycode, const char *key, const char *chr,
bool shift, bool ctrl)
{
int keyevent = -1;