Skip to content

Testing Rumble, is it mixed up? #49

Description

@z0rti

I'm testing this https://github.com/libsdl-org/SDL/blob/SDL2/test/testhaptic.c

  1. with a Xbox360 controller (clone)
INFO: 1 Haptic devices detected.
INFO: Device: Microsoft X-Box 360 pad
INFO:    Supported effects [16 effects, 16 playing]:
INFO:       sine
INFO:       triangle
INFO:       left/right
INFO:    Supported capabilities:
INFO:       gain
INFO: 
Uploading effects
INFO:    effect 0: Sine Wave
INFO:    effect 1: Left/Right
INFO: 
Now playing effects for 5 seconds each with 1 second delay between
INFO:    Playing effect 0
INFO:    Playing effect 1
  1. Switch Pro Controller (clone)
INFO: 1 Haptic devices detected.
INFO: Device: Nintendo Switch Pro Controller
INFO:    Supported effects [16 effects, 16 playing]:
INFO:       sine
INFO:       triangle
INFO:       left/right
INFO:    Supported capabilities:
INFO:       gain
INFO: 
Uploading effects
INFO:    effect 0: Sine Wave
INFO:    effect 1: Left/Right
INFO: 
Now playing effects for 5 seconds each with 1 second delay between
INFO:    Playing effect 0
INFO:    Playing effect 1

With Xbox360 controller the effect 0 does nothing, but the effect 1 works
With Switch controller the effect 0 works but effect 1 does nothing

So in the actual game i don't get rumble with the Switch Controller, but with the Xbox360 i do.

Not sure if these effects are defined in SDL code or hid_nintendo

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions