X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 492E03857004 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1696523932; bh=uYPgvoaJCZx6i5LswiFHe2raqwLir0YtTi3PbHS/P08=; h=Date:To:Subject:In-Reply-To:References:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: From; b=k0Nz9ueLgo4G/3XqcMedOI0XrWooWFMtIE1Hz0JArpNrilv6REYJ3wWNP1OByvpI8 bYz9GuHLKjSx4ZL1qF+FXGrZeP1TW9ClRlsP2v7ZwLG24yeEcfHHeqa4i9Y/2VbAEr C1l1FC0gswYZXXmiQS1iq6HvZO85hxEyfoT0Dyiw= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org DCCE73857731 Date: Fri, 6 Oct 2023 01:38:31 +0900 To: cygwin AT cygwin DOT com Subject: Re: SDL2: Gamepads stopped working Message-Id: <20231006013831.4dc82db44b5b834c51aa8d2f@nifty.ne.jp> In-Reply-To: References: X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.30; i686-pc-mingw32) Mime-Version: 1.0 X-Spam-Status: No, score=-5.8 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS, NICE_REPLY_A, RCVD_IN_DNSWL_NONE, SPF_HELO_PASS, 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 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Takashi Yano via Cygwin Reply-To: Takashi Yano Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com Sender: "Cygwin" On Thu, 5 Oct 2023 17:15:42 +0200 risingpowe wrote: > 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. Thanks for testing! What error occurs for XBOX360 controller? -- Takashi Yano -- 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