playMaker

Author Topic: xbox controller cursor control  (Read 1266 times)

IIKII

  • Full Member
  • ***
  • Posts: 137
  • Lonely developer
    • Patreon
xbox controller cursor control
« on: February 03, 2020, 04:07:11 AM »
Hi, how do I control the cursor using xbox controller?

Doesn't seems to work. Based on my research, not possible??
Support me on Patreon for free adventure games and development insights - https://www.patreon.com/koexstudio

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7614
    • jinxtergames
Re: xbox controller cursor control
« Reply #1 on: February 03, 2020, 04:30:50 AM »
mouse is handle by the OS.

For windows i did use this :

https://assetstore.unity.com/packages/tools/input-management/cursor-control-66097

and i have actions for it on my asset :
https://assetstore.unity.com/packages/tools/utilities/third-party-asset-actions-for-playmaker-130245

but for other platforms it will be harder to find something.

IIKII

  • Full Member
  • ***
  • Posts: 137
  • Lonely developer
    • Patreon
Re: xbox controller cursor control
« Reply #2 on: February 05, 2020, 05:00:38 AM »
The cursor control doesn't work, it doesn't trigger the mouse clicks.

I managed to get it working by creating a fake cursor and trigger UI buttons using raycast. That's the best I can do.
Support me on Patreon for free adventure games and development insights - https://www.patreon.com/koexstudio

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: xbox controller cursor control
« Reply #3 on: February 06, 2020, 07:57:58 AM »
Hi,

 you need the PlayMakerGUI gameobject in your scene for the cursor action to work.

do you have it?

Bye,

 Jean