add Event to onKeyReleased callback
alex-waverley opened this issue · 2 comments
alex-waverley commented
react-simple-keyboard version - 3.5.17
When the option physicalKeyboardHighlightPressUsePointerEvents={true}
is used, onKeyPress
callback contains 2 arguments: button and event. Event is present if user clicks on virtual keyboard and event is undefined
on physical one. Is it possible to add event as argument to onKeyReleased
so that it would be easy to tell the difference between where the event comes from?
hodgef commented
Done. Thanks!
m50S79sM6SRNp8Jn commented
Can the documentation please be updated to reflect above change?