[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] 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] also, are you guys trying to handle on-screen keyboards (e.g. for mobile devices?) [16:15] *** kripken has joined #jsmess [16:25] 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] 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] virtual* [16:28] but as far as general text input, we don't do anything fqncy to make that work on mobile [16:30] ok, because, as a reference, this is a PLATO keyboard: https://i.imgur.com/SnVHyux.jpg [16:32] 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] yeah, so we use it sometimes for systems with weird buttons which don't map to keys on modern keyboards [16:34] I forget ehich library we use but it's something with a generic name like VirtualKeyboard.js or similar :D [16:38] ok [22:25] Our keyboard library thing needs a real shaking down [22:25] I'm concerned it's made our system work eh [22:25] TSCHAK: https://mottie.github.io/Keyboard/ [22:46] ah, ok, same one I found.. :)