X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 366E2385800A DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1696324879; bh=LvYat/fsrMdbb3IBPQ+DdRNGw1kL4miqa9+bDXynWu0=; h=To:Subject:Date:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=gV3krexiaq7SBKhPz46lVf6fenCcuwhaGo743OBYOZWrAPtwhaOUBtuQ/A6YzNJ29 rAWL9GZ3pFnprS9fynue5Vzm/yGSbN0aLRN7/TEF8l3IfY0Sw3iHxgx+rOFNOMLYsD NicKzaKch9nYWUhcHQ9EShIDvSMpcwmLFoP6KZg0= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org CC6B83858D38 X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a MIME-Version: 1.0 Message-ID: To: cygwin AT cygwin DOT com Subject: SDL2: Gamepads stopped working Date: Tue, 3 Oct 2023 11:20:30 +0200 Importance: normal Sensitivity: Normal X-Priority: 3 X-Provags-ID: V03:K1:NKUWYhCAm8U0ZMxmYszFAXKXbtLbWoys0zzRu+Dbn26qaV674vcgFb9D6Deb8yxGbKbux mxZG2729uLSXzvGltQEUT8h3mkFyg6cryJiiEUjjVGzsbKI6V+lfRYv2qrUTop0aer9lSDB+F5Wd ENm5uNBUnxkxM1D/2VUJlH2Cq7OOR4R2jfLr1ZV9DeR4UZ8t2bkgy45vchNlSfQWY4S8BKATvKfF qxaRPGh9FRmkrQhdL8PBi9u4ALQuSjGEU/sLmYX5x6BUZoUyQVoQdFFSn7ONMWZrNh00c6PkCbzL nk= UI-OutboundReport: notjunk:1;M01:P0:B2T3LHpCxU4=;wIQWlsLaW2QwaGQUfs9S0awdDhZ CZj/OPKVmncEmmvvU/ouAnxaAdGSzgdpJk8OOTi/4kCIx47+PUxO818gp7w8BKlltNkb+Rs6I p7GT1H5JE2kbXJT7pghsLSOLAiPHUtDX+Q6b5yx4WK3a5PqJx2Fx5tj782CdARSwyMgIAUopa 2n1lEtyfX9aaGzJGDgmjJukzyRzYD206MAvPG/kwHp6UPLM018iMOgoIzVGBzx2cpMzDFtEcm hD3uBA4Rt/LO1r9BKyZ++L3v/Xt57tlNEwG2xvVGeVouoDmibl2T9Uf2PbIm9bsZD4Hu14yZq REYnRWSgm63kNK1eSgrb+S2aMWE76ab60fEAnwiN7bQBT8++tULVjGQzpZqv/UjDNPxK72SIW zpTRsawuTfkRryPLJ+5y6MDdoTFVIhZSVdyHV9MO/R7tgj41GXXZqodZq28xNH3sihP5VAdBD mxl7dVODQc3mlzGy5/YRSE/TVvxFJdZw60Xnp823po1LJetxVe2vVAhKPmP+9cNB/XpLwC3lZ SzdpBwB5smx9OdyxxLt1L1YBZM4MTWStjhWj6rGSGk2dDWzlcsy/Rz2yoSGD+8tkZEBzUbJ5B icQS1CdtOIXYNTW/X3vqa+KJeqPTOXtjcA8bew64VQMfb8vNwhc+KrE63WNt/PcRtuCemC5U9 g7Dx+17rIq09L/ruinYsNTcc8vu2Gz+98x+V5nJuW+YS83BdI0eqI3st28jP4M6S5JnL9PRH/ ysPM/U4Kgrmm+EXoukbR0eiXDP3F4tHh7z8BM/pDWbvYSkK87RI9k45xRpiNSyzxFtcIedZ2B jb4F8fuRweNC0REA6j8BOR6pBrIJ0oWQ6mj76ZTcrAkqs= X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H4, 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 List-Archive: List-Post: List-Help: List-Subscribe: , From: risingpower--- via Cygwin Reply-To: risingpower AT gmx DOT de Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "Cygwin" Hi, after a cygwin update, SDL2 does not recognize my gamepads any more. They definitely worked before: libSDL2_2.0_0-2.0.7-1.tar.xz <- joystick worked fine (2021-10-09) libSDL2_2.0_0-2.28.3-2.tar.xz <- SDL_NumJoysticks() is 0 (2023-09-30) Example: // $ gcc -o testjoystick testjoystick.cc $(pkg-config --cflags --libs SDL2) #include #include int main(int argc, char *argv[]) { if (!SDL_WasInit(SDL_INIT_JOYSTICK)) { int res = SDL_Init(SDL_INIT_JOYSTICK); if (res < 0) printf("SDL init joystick failed: %s\n", SDL_GetError()); } int num_joysticks = SDL_NumJoysticks(); printf("SDL_NumJoysticks()=%d\n", num_joysticks); return 0; } -- 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