text: [{"Owner":"hen","Date":"2016-01-13T21:49:06Z","Content":"_lt_div class_eq__qt_mages_qt__gt_\n\t\t\t\n_lt_p_gt_\n\tIm trying to add mobile support for our thirdperson camera wich is using the Arc Rotate cam.\n_lt_/p_gt_\n\n_lt_p_gt_\n\tIs it actually possible to control that camera using the joystick?_lt_br_gt_\n\tIt seems like the cameras touch controls are disabled once the joystick is loaded.\n_lt_/p_gt_\n\n\n\t\t\t\n\t\t_lt_/div_gt_\n\n\t\t_lt_div class_eq__qt_ipsI_qt__gt__lt_/div_gt__lt_/div_gt_"},{"Owner":"Wingnut","Date":"2016-01-15T13:27:53Z","Content":"_lt_div class_eq__qt_mages_qt__gt_\n\t\t\t\n_lt_p_gt_\n\tHi Hen_co_ good to see you again.  I_t_m not qualified to answer this_co_ but this will serve to bump your topic upward a bit.\n_lt_/p_gt_\n\n_lt_p_gt_\n\tSo_co_ _lt_u_gt_IN MY OPINION_lt_/u_gt__co_ the separation borders between device_co_ user agent (browser)_co_ JS_co_ and BabylonJS framework... become very important here.  I think that the issue of touchscreen being disabled after a joystick driver/redirector loads-in... happens on a DEVICE side of the border.  In other words_co_ you will need to investigate why the device is doing that_co_ and a fix/work-around might be rough water (difficult).  Your primary objective...  get your joystick (and/or touchscreen) to produce values in JS.  No need to attach a scene or a framework... just get your joystick/touchscreen event listeners activated in a simple JS demo.  Later_co_ when all your event listeners are working per your liking... THEN hooking an arc rotate camera to those event_lt_u_gt_Handlers_lt_/u_gt_... might be easy.\n_lt_/p_gt_\n\n_lt_p_gt_\n\tThere is a _qt_library_qt_ called _lt_a href_eq__qt_http_dd_//www.gamepadjs.com/_qt_ rel_eq__qt_external nofollow_qt__gt_Gampad.js_lt_/a_gt__co_ but_co_ according to its docs_co_ it doesn_t_t work with Internet Explorer_co_ Opera_co_ or Safari.  Crap_co_ eh?\n_lt_/p_gt_\n\n_lt_p_gt_\n\tLet_t_s take a browse to the _lt_a href_eq__qt_http_dd_//www.w3.org/TR/gamepad/_qt_ rel_eq__qt_external nofollow_qt__gt_W3C Gampad thing_lt_/a_gt_.  May I direct your attention to Section 3. - Scope area.  This area of the spec... speaks volumes (says a lot).  Mainly_co_ it talks about NARROWING the scope... and why this spec is called _qt_gamepad_qt_ and not _qt_generalExternalController_qt_.  By the _qt_feel_qt_ of that information in the Scope section_co_ one might suspect that we will eventually see a W3C spec for _qt_Joystick_qt__co_ eh?  _lt_a href_eq__qt_http_dd_//h4ck3r.net/joystick/joystick.html_qt_ rel_eq__qt_external nofollow_qt__gt_http_dd_//h4ck3r.net/joystick/joystick.html_lt_/a_gt_\n_lt_/p_gt_\n\n_lt_p_gt_\n\tThere it is_co_ but we_t_re not AT the W3C website anymore.  So let_t_s hit that _qt_latest public version_qt_ on the W3C site... _lt_a href_eq__qt_http_dd_//www.w3.org/TR/joystick/_qt_ rel_eq__qt_external nofollow_qt__gt_http_dd_//www.w3.org/TR/joystick/_lt_/a_gt_\n_lt_/p_gt_\n\n_lt_p_gt_\n\tOooh_co_ flopped on its butt.  Ok_co_ let_t_s search the W3C site for _qt_joystick_qt_.  _lt_a href_eq__qt_https_dd_//www.google.com/search?q_eq_site_dd_w3.org+joystick_qt_ rel_eq__qt_external nofollow_qt__gt_https_dd_//www.google.com/search?q_eq_site_dd_w3.org+joystick_lt_/a_gt_\n_lt_/p_gt_\n\n_lt_p_gt_\n\tGot some returns_co_ but the dates are OLD.  Quite discouraging_co_ eh?  But BabylonJS DOES have gamepad features.  _lt_a href_eq__qt_http_dd_//doc.babylonjs.com/search?q_eq_gamepad_qt_ rel_eq__qt_external nofollow_qt__gt_http_dd_//doc.babylonjs.com/search?q_eq_gamepad  _lt_/a_gt_\n_lt_/p_gt_\n\n_lt_p_gt_\n\tSo_co_ once you solve your _lt_strong_gt_DEVICE-level_lt_/strong_gt_ joystick-disables-touchscreen issue_co_ there appears to be _lt_strong_gt_some_lt_/strong_gt_ tools/code here to play-with.\n_lt_/p_gt_\n\n_lt_p_gt_\n\tWhen you get the issues solved on the other levels_co_ then you SHOULD be able to operate one of our GamePad cameras with a joystick.  Get THAT far_co_ if you please.  AFTER you have your joystick able to operate the GamepadCamera... that_t_s when you/we will _qt_borrow_qt_ some code from _lt_a href_eq__qt_https_dd_//github.com/BabylonJS/Babylon.js/blob/master/src/Cameras/babylon.gamepadCamera.js_qt_ rel_eq__qt_external nofollow_qt__gt_https_dd_//github.com/BabylonJS/Babylon.js/blob/master/src/Cameras/babylon.gamepadCamera.js_lt_/a_gt_ and maybe extend ArcRotateCamera instead of FreeCamera.   In other words_co_ you/we will modify gamepadCamera and make our own joystickArcCamera v1.0  _lt_img alt_eq__qt__dd_)_qt_ data-emoticon_eq__qt_true_qt_ height_eq__qt_20_qt_ src_eq__qt_http_dd_//www.html5gamedevs.com/uploads/emoticons/default_smile.png_qt_ srcset_eq__qt_http_dd_//www.html5gamedevs.com/uploads/emoticons/smile@2x.png 2x_qt_ title_eq__qt__dd_)_qt_ width_eq__qt_20_qt__gt__lt_/p_gt_\n\n_lt_p_gt_\n\tGamepads and joysticks... it is all quite new to browsers_co_ still.  The working draft date on the W3C Gamepad spec... is Dec 2015!  It_t_s hot hot hot.  Gamepads and joysticks generally send the same values_co_ so_co_ joysticking an arcRotateCamera is likely possible.  It might be a hard-to-navigate trail to success_co_ depending upon your expertise.  I believe Davrous wrote much of our GamePad camera stuff_co_ so maybe he will visit and say wiser things than I can.  As I said before_co_ I am not qualified to comment on this_co_ but_co_ I_t_m glad and honored to watch_co_ listen_co_ and learn.  _lt_img alt_eq__qt__dd_)_qt_ data-emoticon_eq__qt_true_qt_ height_eq__qt_20_qt_ src_eq__qt_http_dd_//www.html5gamedevs.com/uploads/emoticons/default_smile.png_qt_ srcset_eq__qt_http_dd_//www.html5gamedevs.com/uploads/emoticons/smile@2x.png 2x_qt_ title_eq__qt__dd_)_qt_ width_eq__qt_20_qt__gt_ \n_lt_/p_gt_\n\n_lt_p_gt_\n\tHere_t_s an interesting forum thread_dd_  _lt_a href_eq__qt_http_dd_//www.html5gamedevs.com/topic/9545-how-to-use-the-gamepad/_qt__gt_http_dd_//www.html5gamedevs.com/topic/9545-how-to-use-the-gamepad/_lt_/a_gt_\n_lt_/p_gt_\n\n_lt_p_gt_\n\tMore comments welcome_co_ of course.\n_lt_/p_gt_\n\n\n\t\t\t\n\t\t_lt_/div_gt_\n\n\t\t_lt_div class_eq__qt_ipsI_qt__gt__lt_/div_gt__lt_/div_gt_"},{"Owner":"hen","Date":"2016-01-15T17:01:12Z","Content":"_lt_div class_eq__qt_mages_qt__gt_\n\t\t\t\n_lt_p_gt_\n\tHey thanks for the reply!... im looking at the gamepad camera now.\n_lt_/p_gt_\n\n_lt_p_gt_\n\t \n_lt_/p_gt_\n\n\n\t\t\t\n\t\t_lt_/div_gt_\n\n\t\t_lt_div class_eq__qt_ipsI_qt__gt__lt_/div_gt__lt_/div_gt_"}]