caiiiycuk / js-dos

The best API for running dos programs in browser
https://js-dos.com
1k stars 123 forks source link

The quote key does not work #276

Open Wanghn233 opened 1 year ago

Wanghn233 commented 1 year ago

here is my bundle. https://github.com/Wanghn233/tt/blob/main/tt.jsdos I don't think this problem is caused by my bundle, Because I can't use the quote key on the command line in other games either.

微信图片_20230420160934

caiiiycuk commented 1 year ago

The fix was proposed by Fred:

I fixed this issue, it is due to keys.ts does not have a proper mapping изображение following changes have to be made in order to work those equals to 222 are the changes

skyksit commented 6 months ago

Changing the codes for the KBD_quote and KBD_grave keys will resolve the error.

KBD_quote = 222; KBD_grave = 192;