ConsolePort

ConsolePort

2M Downloads

Is it possible to add console vibration on certain condition?

LeoQuote opened this issue · 2 comments

commented

Would it be possible? Like casting a spell and vibrate.

Looks like it has related API: https://wowpedia.fandom.com/wiki/API_C_GamePad.SetVibration

commented

Really interested about the overall knowledge about WOW addons, I’ve been working on some hobby project written on lua. Here’s some issues that need to be resolved:

  1. Do console port provide unified interface to vibrate console?
  2. How the events in game was subscribed? Since I would not be able to replace all cast to a macro, call the console port api and then cast spell, I must listen to all event to find out the specific spell, then vibrate. Maybe WA is a good idea.

I was wondering where can I find answers for those questions.

commented

Well, it's possible without console port. I ran it with Wowlua and it works

C_GamePad.SetVibration("High", 1)