delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2023/10/05/11:16:22

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org AD38F3882024
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1696518981;
bh=IUTx2j/Tpm7ZHirXFJ2VCiejwUR8uWosiE3bmid/bC0=;
h=To:Subject:Date:List-Id:List-Unsubscribe:List-Archive:List-Post:
List-Help:List-Subscribe:From:Reply-To:From;
b=M1MNcHMVXSZHO5RyIlFViA5Hop1q5FQCf9eOrcOpyaFeMX2B5WFJuHOIrKxIDdC6O
ldXsuXKcllMeHkPRRtcEhA1HFiirUzodk6wxV9BfkLpCaKauEl8KNpqMCSzYsDuABI
zwK6agbr2t2v61/IKAtYlgNAWL19uoRmWYViSGiA=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 0A1CD385DC07
X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a
MIME-Version: 1.0
Message-ID: <trinity-9f6631f6-cc80-45e6-a9b1-824d2dbccb46-1696518942827@3c-app-gmx-bap20>
To: cygwin AT cygwin DOT com
Subject: Re: SDL2: Gamepads stopped working
Date: Thu, 5 Oct 2023 17:15:42 +0200
Importance: normal
Sensitivity: Normal
X-Priority: 3
X-Provags-ID: V03:K1:eEQKDeg45rvA0soQZ7NyAr4AEmviqxTkVfXYPtWMmBPWHXZuXn3XwjV21gqDf2gPs5nkp
Jv6h/1Is59lsQWTQJtFsN3RCgncuvnX9oeRsBmgkx08ZVQoelHVBhr0iPmqrfBmHqKgnJcM0f4rq
Dmw+ZJ2HHXm76sZOYK4VqZdHlxrJz00dIBpKIELq8FlB+LqkJaum//K38k4gsbcPnHSiLtqMifIX
EITjpuwIA1Y10+rQjGAcvI5ODP6aQGStpsgu1TrKw5IEgxZWUsRLbpHFK4YajyS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N_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_PASS,
TXREP autolearn=ham autolearn_force=no version=3.4.6
X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on
server2.sourceware.org
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.30
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: risingpower--- via Cygwin <cygwin AT cygwin DOT com>
Reply-To: risingpower AT gmx DOT de
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com>

On 05.10.2023 16:12, Takashi Yano wrote:>
> I guess DirectInput is necessary for that gamepads. I will release
> SDL2 2.28.4-1 (TEST) package shortly, where both dinput and xinput
> are enabled. Could you please test?
>

Thank you very much!

My gamepads show up, but do not work.
- SDL_NumJoysticks() is now correct: 2
- The USB HID controller generates this SDL_GetError() for
  SDL_GameControllerOpen():
  IDirectInputDevice8::SetCooperativeLevel() DirectX error 0x80070006
- And SDL_JoystickNameForIndex() only returns one character "U" instead
  of "USB Gamepad"
- XBOX360 controller identifies itself correctly as
  "Xbox 360 Controller", but does not work.

What options have you added to ./configure?
IMHO just leave blank. This way at least one category of controllers
should work.

Best regards,
Richard

-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019