airsdk / Adobe-Runtime-Support

Report, track and discuss issues in Adobe AIR. Monitored by Adobe - and HARMAN - and maintained by the AIR community.
203 stars 11 forks source link

Game Input Device: Add native support for haptic feedback (hardware vibration) #989

Open Adolio opened 3 years ago

Adolio commented 3 years ago

Description

The idea would be to extend the current GameIputDevice API to include access & control over potential haptic capability of the connected gamepads.

Target platforms

External documentation (API ideas)

Specifications

Implementations

ajwfrost commented 3 years ago

Sounds like a good idea - and perhaps even more relevant given the Steam Deck device!

The GameInputDevice API to me looks very low-level - you have to query a lot of different properties in order to set things up. We can add something to this, but I'm also thinking a higher-level API - like those other implementations - might be useful..?

thanks

Adolio commented 2 years ago

Thanks @ajwfrost for your answer.

Sounds like a good idea - and perhaps even more relevant given the Steam Deck device!

Ho yeah! 😃

The GameInputDevice API to me looks very low-level - you have to query a lot of different properties in order to set things up. We can add something to this, but I'm also thinking a higher-level API - like those other implementations - might be useful..?

On my side a pretty low-level API would be perfect actually. However high level API for specific devices would be very welcome too - and I think this might be a very good candidate of an open source library (in order to let the community collaborate on it).

This collaborative document might be helpful as a starting point: https://docs.google.com/spreadsheets/d/1Q7e-I7vTtTeXWHPO8tHuXfyPCzilAVy4bY7kX8q2Ygo