Le Sparte Posted January 9, 2017 Share Posted January 9, 2017 Hi there, Is there a way to get the Apple Pro Keyboard recognized by Phaser? Is there a specific code or library (like Hammer.js) to add? Thanks for your help! Link to comment Share on other sites More sharing options...
mattstyles Posted January 9, 2017 Share Posted January 9, 2017 It's just a keyboard right, the Phaser keyboard module doesn't pick it up? Link to comment Share on other sites More sharing options...
Le Sparte Posted January 9, 2017 Author Share Posted January 9, 2017 No, it doesn't. I've tried with my own codes but also with exemples on the Phaser website. No problem with a regular keyboard, but I get no answer at all with the iPad Pro Keyboard. Il makes no sense to me (my Keyboard is okay btw, I'm writing this message with it). Link to comment Share on other sites More sharing options...
mattstyles Posted January 9, 2017 Share Posted January 9, 2017 Ha ha, yeah I guessed your keyboard is fine Really weird, not sure why the Smart Keyboard isn't just registering keypresses that document.addEventListener('keydown') etc can hook in to. Maybe Phaser doesn't add that listener for mobile devices? Link to comment Share on other sites More sharing options...
Le Sparte Posted January 9, 2017 Author Share Posted January 9, 2017 Yes, maybe. Let's see if I can get an answer from a Phaser developper. If I don't, I'll add an issue to the Phaser Github (I should do it anyway). Link to comment Share on other sites More sharing options...
shabbar Posted May 12, 2017 Share Posted May 12, 2017 did you get the answer , i am facing same issue , i am developing a typing game , it works ok on desktop but when i run it on ipad it does not recognise the external keyboard input. please let me know if you find the answer. Link to comment Share on other sites More sharing options...
Recommended Posts