Search Unity

Query device capabilities

Discussion in 'Input System' started by MikkelFredborg_LEGO, Jan 22, 2020.

  1. MikkelFredborg_LEGO

    MikkelFredborg_LEGO

    Joined:
    Mar 11, 2019
    Posts:
    1
    Is it possible to check device capabilities?

    We need to be able to check if a "Mouse" is a mouse with a scroll wheel, or if it has two finger scroll (Mac mouse) or if it's a trackpad in order to adjust controls to be natural to the user.
     
  2. Rene-Damm

    Rene-Damm

    Joined:
    Sep 15, 2012
    Posts:
    1,779
    Unfortunately, while there's a structure in place to supply the information, our platform backends do not currently fill out the information (the "capabilities" field in InputDeviceDescription remains empty). I've made a note for this to get looked at (ISX-328).