#jsmess 2019-05-20,Mon

↑back Search

Time Nickname Message
00:38 🔗 godane has quit IRC (Ping timeout: 360 seconds)
00:57 🔗 godane has joined #jsmess
03:18 🔗 Lord_Nigh has quit IRC (Quit: ZNC - http://znc.in)
03:21 🔗 Lord_Nigh has joined #jsmess
06:25 🔗 TSCHAK has quit IRC (Ping timeout: 260 seconds)
10:05 🔗 dboard420 has quit IRC (irc.efnet.nl efnet.deic.eu)
10:14 🔗 db421 has joined #jsmess
10:21 🔗 db421 is now known as dboard420
10:28 🔗 BnARobin has quit IRC (Read error: Operation timed out)
10:33 🔗 pengan has quit IRC (Ping timeout: 268 seconds)
10:49 🔗 BnARobin has joined #jsmess
10:50 🔗 pengan has joined #jsmess
15:06 🔗 TSCHAK has joined #jsmess
15:06 🔗 TSCHAK million dollar question, how are you guys swallowing keys that would otherwise be trapped by the browser? (I need to trap CTRL-D, for example, to send the DATA key) ?
15:07 🔗 azakai_ has quit IRC (Read error: Operation timed out)
15:08 🔗 TSCHAK also, are you guys trying to handle on-screen keyboards (e.g. for mobile devices?)
16:15 🔗 kripken has joined #jsmess
16:25 🔗 bai TSCHAK: I want to say we set up a keydown listener on body or some other element which looks for some list of special keys which we don't want interfering, and we call ev.preventDefault() on them - that works for most of them, I think
16:27 🔗 bai we have some really simple virtuap keyboard stuff mostly for the arcade games, where we can present buttons for, eg, insert coins, start player 1/2, etc
16:27 🔗 bai virtual*
16:28 🔗 bai but as far as general text input, we don't do anything fqncy to make that work on mobile
16:30 🔗 TSCHAK ok, because, as a reference, this is a PLATO keyboard: https://i.imgur.com/SnVHyux.jpg
16:32 🔗 TSCHAK and i'd love to be able to check my notes on my fridge... https://scontent-dfw5-2.xx.fbcdn.net/v/t1.0-9/53545906_2344825895749789_2231913891766468608_o.jpg ;)
16:33 🔗 bai yeah, so we use it sometimes for systems with weird buttons which don't map to keys on modern keyboards
16:34 🔗 bai I forget ehich library we use but it's something with a generic name like VirtualKeyboard.js or similar :D
16:38 🔗 TSCHAK ok
22:25 🔗 SketchCow Our keyboard library thing needs a real shaking down
22:25 🔗 SketchCow I'm concerned it's made our system work eh
22:25 🔗 SketchCow TSCHAK: https://mottie.github.io/Keyboard/
22:46 🔗 TSCHAK ah, ok, same one I found.. :)

irclogger-viewer