tommythorn / virtual-nascom

SDL-based Nascom 2 emulator
GNU General Public License v2.0
11 stars 8 forks source link

[Mobile Web] Need a way to enter control and/or graphics keys #16

Open tommythorn opened 2 years ago

tommythorn commented 2 years ago

Not sure there's an elegant way, but an HTML button that disables after keypress.

tommythorn commented 2 years ago

Related: on iOS, keys like ()$&@"?![]=., show up as 90472'/1{}+|<> depending on whether shift is down or not (it's a mess).

Also, it would be useful to translate screen swipes into arrow up/down/forward/backward keys on mobile.

tommythorn commented 2 years ago

The former is mostly fixed with https://github.com/tommythorn/virtual-nascom/commit/6467bcf8f5d5f4831beec4d80181149b8ee25450 but issues remain with backspace and space while shift or symbol shift is active.