Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package wiiuse for openSUSE:Factory checked 
in at 2026-04-29 19:18:31
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/wiiuse (Old)
 and      /work/SRC/openSUSE:Factory/.wiiuse.new.30200 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "wiiuse"

Wed Apr 29 19:18:31 2026 rev:6 rq:1349877 version:0.15.7

Changes:
--------
--- /work/SRC/openSUSE:Factory/wiiuse/wiiuse.changes    2024-08-13 
13:24:51.454280128 +0200
+++ /work/SRC/openSUSE:Factory/.wiiuse.new.30200/wiiuse.changes 2026-04-29 
19:19:34.309328657 +0200
@@ -1,0 +2,9 @@
+Mon Apr 20 19:23:46 UTC 2026 - Carsten Ziepke <[email protected]>
+
+- Update to version 0.15.7
+  * wiiuse.pc.in: allow absolute paths of CMAKE_INSTALL_LIBDIR
+  * Fix CMake deprecation warnings
+  * Cmake deprecations
+  * Add Tatacon support
+
+-------------------------------------------------------------------

Old:
----
  wiiuse-0.15.6.tar.gz

New:
----
  wiiuse-0.15.7.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ wiiuse.spec ++++++
--- /var/tmp/diff_new_pack.C4e9dl/_old  2026-04-29 19:19:34.885352255 +0200
+++ /var/tmp/diff_new_pack.C4e9dl/_new  2026-04-29 19:19:34.885352255 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package wiiuse
 #
-# Copyright (c) 2024 SUSE LLC
+# Copyright (c) 2026 SUSE LLC and contributors
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -18,7 +18,7 @@
 
 %define libname libwiiuse0
 Name:           wiiuse
-Version:        0.15.6
+Version:        0.15.7
 Release:        0
 Summary:        Connects with several Nintendo Wii remotes
 License:        GPL-3.0-only AND LGPL-3.0-only
@@ -26,7 +26,7 @@
 URL:            https://github.com/wiiuse/wiiuse
 Source0:        
https://github.com/wiiuse/wiiuse/archive/refs/tags/%{version}.tar.gz#/%{name}-%{version}.tar.gz
 BuildRequires:  bluez-devel
-BuildRequires:  cmake > 3.6.0
+BuildRequires:  cmake > 3.10.0
 BuildRequires:  dos2unix
 BuildRequires:  freeglut-devel
 BuildRequires:  gcc-c++

++++++ wiiuse-0.15.6.tar.gz -> wiiuse-0.15.7.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/wiiuse-0.15.6/CHANGELOG.mkd 
new/wiiuse-0.15.7/CHANGELOG.mkd
--- old/wiiuse-0.15.6/CHANGELOG.mkd     2024-02-24 16:19:20.000000000 +0100
+++ new/wiiuse-0.15.7/CHANGELOG.mkd     2026-02-27 22:11:08.000000000 +0100
@@ -14,6 +14,18 @@
     most recent archive from 2010 (looks identical on homepage to 2011 
snapshot above)
     <https://web.archive.org/web/20100216015311/http://wiiuse.sourceforge.net/>
 
+
+
+v0.15.7 -- 27-Feb-2026
+--------------------
+
+Fixed:
+
+- Tatacon Support
+- Fix deprecation warnings
+
+
+
 v0.15.6 -- 18-Feb-2024
 --------------------
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/wiiuse-0.15.6/CMakeLists.txt 
new/wiiuse-0.15.7/CMakeLists.txt
--- old/wiiuse-0.15.6/CMakeLists.txt    2024-02-24 16:19:20.000000000 +0100
+++ new/wiiuse-0.15.7/CMakeLists.txt    2026-02-27 22:11:08.000000000 +0100
@@ -2,7 +2,7 @@
 # http://academic.cleardefinition.com/
 # Iowa State University HCI Graduate Program/VRAC
 
-cmake_minimum_required(VERSION 3.6.0)
+cmake_minimum_required(VERSION 3.10.0)
 
 # Set package properties
 project(WiiUse
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/wiiuse-0.15.6/README.mkd new/wiiuse-0.15.7/README.mkd
--- old/wiiuse-0.15.6/README.mkd        2024-02-24 16:19:20.000000000 +0100
+++ new/wiiuse-0.15.7/README.mkd        2026-02-27 22:11:08.000000000 +0100
@@ -74,7 +74,8 @@
 - Jean-Michaƫl Celerier <https://github.com/jcelerier>
 - Dave Murphy <https://github.com/WinterMute>
 - Forrest Cahoon <https://github.com/forrcaho>
-
+- Sergei Trofimovich <https://github.com/trofi>
+- Pixel <https://github.com/pixelomer>
 
 ## License
 
@@ -113,6 +114,7 @@
   - Classic controller
   - Guitar controller
   - Motion Plus dongle (for the gen 1 Wiimote)
+  - Tatacon
 
 ### Clones and 3rdparty devices
 
@@ -147,7 +149,7 @@
 
 ## Compiling
 
-You need SDL and OpenGL installed to compile the (optional) SDL example.
+You need SDL 1.2 and OpenGL installed to compile the (optional) SDL example.
 
 ### Linux & Mac
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/wiiuse-0.15.6/cmake/GetCompilerInfoString.cmake 
new/wiiuse-0.15.7/cmake/GetCompilerInfoString.cmake
--- old/wiiuse-0.15.6/cmake/GetCompilerInfoString.cmake 2024-02-24 
16:19:20.000000000 +0100
+++ new/wiiuse-0.15.7/cmake/GetCompilerInfoString.cmake 2026-02-27 
22:11:08.000000000 +0100
@@ -123,12 +123,10 @@
 # version with a regex.
 #
 function(get_gcc_version _var)
-       exec_program(${CMAKE_CXX_COMPILER}
-               ARGS
-               ${CMAKE_CXX_COMPILER_ARG1}
-               -dumpversion
-               OUTPUT_VARIABLE
-               _compilerinfo_COMPILER_VERSION)
+        execute_process(
+               COMMAND ${CMAKE_CXX_COMPILER} ${CMAKE_CXX_COMPILER_ARG1} 
-dumpversion
+               OUTPUT_VARIABLE _compilerinfo_COMPILER_VERSION
+        )
 
        string(REGEX
                MATCH
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/wiiuse-0.15.6/example/example.c 
new/wiiuse-0.15.7/example/example.c
--- old/wiiuse-0.15.6/example/example.c 2024-02-24 16:19:20.000000000 +0100
+++ new/wiiuse-0.15.7/example/example.c 2026-02-27 22:11:08.000000000 +0100
@@ -292,6 +292,21 @@
                printf("Weight: %f kg @ (%f, %f)\n", total, x, y);
                printf("Interpolated weight: TL:%f  TR:%f  BL:%f  BR:%f\n", 
wb->tl, wb->tr, wb->bl, wb->br);
                printf("Raw: TL:%d  TR:%d  BL:%d  BR:%d\n", wb->rtl, wb->rtr, 
wb->rbl, wb->rbr); 
+       } else if (wm->exp.type == EXP_TATACON) {
+               /* tatacon */
+               struct tatacon_t* tatacon = (tatacon_t*)&wm->exp.tatacon;
+               if (IS_PRESSED(tatacon, TATACON_BUTTON_RIM_LEFT)) {
+                       printf("Tatacon: Left Rim Hit\n");
+               }
+               if (IS_PRESSED(tatacon, TATACON_BUTTON_CENTER_LEFT)) {
+                       printf("Tatacon: Left Center Hit\n");
+               }
+               if (IS_PRESSED(tatacon, TATACON_BUTTON_CENTER_RIGHT)) {
+                       printf("Tatacon: Right Center Hit\n");
+               }
+               if (IS_PRESSED(tatacon, TATACON_BUTTON_RIM_RIGHT)) {
+                       printf("Tatacon: Right Rim Hit\n");
+               }
        }
 
        if (wm->exp.type == EXP_MOTION_PLUS ||
@@ -557,11 +572,18 @@
                                                printf("Guitar Hero 3 
controller inserted.\n");
                                                break;
 
+                                       case WIIUSE_TATACON_CTRL_INSERTED:
+                                               /* some expansion was inserted 
*/
+                                               handle_ctrl_status(wiimotes[i]);
+                                               printf("Tatacon controller 
inserted.\n");
+                                               break;
+
                                        case WIIUSE_MOTION_PLUS_ACTIVATED:
                                                printf("Motion+ was 
activated\n");
                                                break;
 
                                        case WIIUSE_NUNCHUK_REMOVED:
+                                       case WIIUSE_TATACON_CTRL_REMOVED:
                                        case WIIUSE_CLASSIC_CTRL_REMOVED:
                                        case WIIUSE_GUITAR_HERO_3_CTRL_REMOVED:
                                        case WIIUSE_WII_BOARD_CTRL_REMOVED:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/wiiuse-0.15.6/src/CMakeLists.txt 
new/wiiuse-0.15.7/src/CMakeLists.txt
--- old/wiiuse-0.15.6/src/CMakeLists.txt        2024-02-24 16:19:20.000000000 
+0100
+++ new/wiiuse-0.15.7/src/CMakeLists.txt        2026-02-27 22:11:08.000000000 
+0100
@@ -24,6 +24,8 @@
        ir.h
        nunchuk.h
        os.h
+       tatacon.c
+       tatacon.h
        util.c
        wiiuse_internal.h
        wiiboard.h)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/wiiuse-0.15.6/src/events.c 
new/wiiuse-0.15.7/src/events.c
--- old/wiiuse-0.15.6/src/events.c      2024-02-24 16:19:20.000000000 +0100
+++ new/wiiuse-0.15.7/src/events.c      2026-02-27 22:11:08.000000000 +0100
@@ -45,6 +45,7 @@
 #include "motion_plus.h"   /* for motion_plus_disconnected, etc */
 #include "nunchuk.h"       /* for nunchuk_disconnected, etc */
 #include "wiiboard.h"      /* for wii_board_disconnected, etc */
+#include "tatacon.h"       /* for tatacon_disconnected, etc */
 
 #include "os.h" /* for wiiuse_os_poll */
 
@@ -674,6 +675,9 @@
     case EXP_MOTION_PLUS_NUNCHUK:
         motion_plus_event(&wm->exp.mp, wm->exp.type, msg);
         break;
+    case EXP_TATACON:
+        tatacon_event(&wm->exp.tatacon, msg);
+        break;
     default:
         break;
     }
@@ -809,6 +813,12 @@
             gotIt     = 1;
         }
         break;
+    
+    case EXP_ID_CODE_TATACON:
+        tatacon_handshake(wm, &wm->exp.tatacon, handshake_buf, 
EXP_HANDSHAKE_LEN);
+        wm->event = WIIUSE_TATACON_CTRL_INSERTED;
+        gotIt = 1;
+        break;
 
     default:
         WIIUSE_WARNING("Unknown expansion type. Code: 0x%x", id);
@@ -873,6 +883,10 @@
         motion_plus_disconnected(&wm->exp.mp);
         wm->event = WIIUSE_MOTION_PLUS_REMOVED;
         break;
+    case EXP_TATACON:
+        tatacon_disconnected(&wm->exp.tatacon);
+        wm->event = WIIUSE_TATACON_CTRL_REMOVED;
+        break;
     default:
         break;
     }
@@ -962,6 +976,10 @@
         break;
     }
 
+    case EXP_TATACON:
+        wm->lstate.exp_btns = wm->exp.tatacon.btns;
+        break;
+
     case EXP_NONE:
         break;
     }
@@ -1110,6 +1128,10 @@
 
         break;
     }
+    case EXP_TATACON:
+        STATE_CHANGED(wm->lstate.exp_btns, wm->exp.tatacon.btns);
+        break;
+
     case EXP_NONE:
     {
         break;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/wiiuse-0.15.6/src/tatacon.c 
new/wiiuse-0.15.7/src/tatacon.c
--- old/wiiuse-0.15.6/src/tatacon.c     1970-01-01 01:00:00.000000000 +0100
+++ new/wiiuse-0.15.7/src/tatacon.c     2026-02-27 22:11:08.000000000 +0100
@@ -0,0 +1,105 @@
+/*
+ *     wiiuse
+ *
+ *     Written By:
+ *             pixelomer
+ *
+ *     Copyright 2026
+ *
+ *     Adapted from nunchuk.c
+ *
+ *     Written By:
+ *             Michael Laforest        < para >
+ *             Email: < thepara (--AT--) g m a i l [--DOT--] com >
+ *
+ *     Copyright 2006-2007
+ *
+ *     This file is part of wiiuse.
+ *
+ *     This program is free software; you can redistribute it and/or modify
+ *     it under the terms of the GNU General Public License as published by
+ *     the Free Software Foundation; either version 3 of the License, or
+ *     (at your option) any later version.
+ *
+ *     This program is distributed in the hope that it will be useful,
+ *     but WITHOUT ANY WARRANTY; without even the implied warranty of
+ *     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ *     GNU General Public License for more details.
+ *
+ *     You should have received a copy of the GNU General Public License
+ *     along with this program.  If not, see <http://www.gnu.org/licenses/>.
+ *
+ *     $Header$
+ *
+ */
+
+/**
+ *     @file
+ *     @brief tatacon expansion device.
+ */
+
+#include "tatacon.h"
+#include "events.h"   /* for handshake_expansion */
+
+#include <stdlib.h> /* for malloc */
+#include <string.h> /* for memset */
+
+/**
+ *     @brief Handle the handshake data from the tatacon.
+ *
+ *     @param tatacon  A pointer to a tatacon_t structure.
+ *     @param data             The data read in from the device.
+ *     @param len              The length of the data block, in bytes.
+ *
+ *     @return Returns 1 if handshake was successful, 0 if not.
+ */
+#define HANDSHAKE_BYTES_USED 14
+int tatacon_handshake(struct wiimote_t *wm, struct tatacon_t *tatacon, byte 
*data, unsigned short len)
+{
+    tatacon->btns          = 0;
+
+    /* handshake done (nothing to do) */
+    wm->exp.type = EXP_TATACON;
+
+#ifdef WIIUSE_WIN32
+    wm->timeout = WIIMOTE_DEFAULT_TIMEOUT;
+#endif
+
+    return 1;
+}
+
+/**
+ *     @brief The tatacon disconnected.
+ *
+ *     @param tatacon  A pointer to a tatacon_t structure.
+ */
+void tatacon_disconnected(struct tatacon_t *tatacon) {
+    memset(tatacon, 0, sizeof(struct tatacon_t));
+}
+
+/**
+ *     @brief Handle tatacon event.
+ *
+ *     @param tatacon  A pointer to a tatacon_t structure.
+ *     @param msg              The message specified in the event packet.
+ */
+void tatacon_event(struct tatacon_t *tatacon, byte *msg)
+{
+    /* get button states */
+    tatacon_pressed_buttons(tatacon, msg[5]);
+}
+
+/**
+ *     @brief Find what buttons are pressed.
+ *
+ *     @param tatacon  Pointer to a tatacon_t structure.
+ *     @param now              The buttons byte in the event packet.
+ */
+void tatacon_pressed_buttons(struct tatacon_t *tatacon, byte now)
+{
+    /* message is inverted (0 is active, 1 is inactive) */
+    now = ~now & TATACON_BUTTON_ALL;
+
+    /* buttons pressed now */
+    tatacon->btns = now;
+}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/wiiuse-0.15.6/src/tatacon.h 
new/wiiuse-0.15.7/src/tatacon.h
--- old/wiiuse-0.15.6/src/tatacon.h     1970-01-01 01:00:00.000000000 +0100
+++ new/wiiuse-0.15.7/src/tatacon.h     2026-02-27 22:11:08.000000000 +0100
@@ -0,0 +1,65 @@
+/*
+ *     wiiuse
+ *
+ *     Written By:
+ *             pixelomer
+ *
+ *     Copyright 2026
+ *
+ *     Adapted from nunchuk.h
+ * 
+ *     Written By:
+ *             Michael Laforest        < para >
+ *             Email: < thepara (--AT--) g m a i l [--DOT--] com >
+ *
+ *     Copyright 2006-2007
+ *
+ *     This file is part of wiiuse.
+ *
+ *     This program is free software; you can redistribute it and/or modify
+ *     it under the terms of the GNU General Public License as published by
+ *     the Free Software Foundation; either version 3 of the License, or
+ *     (at your option) any later version.
+ *
+ *     This program is distributed in the hope that it will be useful,
+ *     but WITHOUT ANY WARRANTY; without even the implied warranty of
+ *     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ *     GNU General Public License for more details.
+ *
+ *     You should have received a copy of the GNU General Public License
+ *     along with this program.  If not, see <http://www.gnu.org/licenses/>.
+ *
+ *     $Header$
+ *
+ */
+
+/**
+ *     @file
+ *     @brief Tatacon expansion device.
+ */
+
+#ifndef TATACON_H_INCLUDED
+#define TATACON_H_INCLUDED
+
+#include "wiiuse_internal.h"
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/** @defgroup internal_tatacon Internal: Tatacon */
+/** @{ */
+int tatacon_handshake(struct wiimote_t *wm, struct tatacon_t *tatacon, byte 
*data, unsigned short len);
+
+void tatacon_disconnected(struct tatacon_t *tatacon);
+
+void tatacon_event(struct tatacon_t *tatacon, byte *msg);
+
+void tatacon_pressed_buttons(struct tatacon_t *tatacon, byte now);
+/** @} */
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* TATACON_H_INCLUDED */
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/wiiuse-0.15.6/src/wiiuse.h 
new/wiiuse-0.15.7/src/wiiuse.h
--- old/wiiuse-0.15.6/src/wiiuse.h      2024-02-24 16:19:20.000000000 +0100
+++ new/wiiuse-0.15.7/src/wiiuse.h      2026-02-27 22:11:08.000000000 +0100
@@ -73,7 +73,7 @@
 
 #define WIIUSE_MAJOR 0
 #define WIIUSE_MINOR 15
-#define WIIUSE_MICRO 6
+#define WIIUSE_MICRO 7
 
 #define WIIUSE_VERSION_TRANSFORM(MAJ, MIN, MICRO) (MAJ * 1000000 + MIN * 1000 
+ MICRO)
 #define WIIUSE_HAS_VERSION(MAJ, MIN, MICRO)    \
@@ -220,6 +220,15 @@
 #define GUITAR_HERO_3_BUTTON_ALL        0xFEFF
 /** @} */
 
+/** @name Tatacon button codes */
+/** @{ */
+#define TATACON_BUTTON_CENTER_LEFT      0x40
+#define TATACON_BUTTON_CENTER_RIGHT     0x10
+#define TATACON_BUTTON_RIM_LEFT         0x20
+#define TATACON_BUTTON_RIM_RIGHT        0x08
+#define TATACON_BUTTON_ALL              0x78
+/** @} */
+
 /** @name Wiimote option flags */
 /** @{ */
 #define WIIUSE_SMOOTHING     0x01
@@ -240,6 +249,7 @@
 #define EXP_MOTION_PLUS 5
 #define EXP_MOTION_PLUS_NUNCHUK 6 /* Motion+ in nunchuk pass-through mode */
 #define EXP_MOTION_PLUS_CLASSIC 7 /* Motion+ in classic ctr. pass-through mode 
*/
+#define EXP_TATACON 8
 /** @} */
 
 /** @brief IR correction types */
@@ -589,6 +599,14 @@
 } motion_plus_t;
 
 /**
+ *     @brief Tatacon expansion device.
+ */
+typedef struct tatacon_t
+{
+    int8_t btns;          /**< what buttons have just been pressed     */
+} tatacon_t;
+
+/**
  *     @brief Wii Balance Board "expansion" device.
  *
  *  A Balance Board presents itself as a Wiimote with a permanently-attached
@@ -644,6 +662,7 @@
         struct classic_ctrl_t classic;
         struct guitar_hero_3_t gh3;
         struct wii_board_t wb;
+        struct tatacon_t tatacon;
     };
 } expansion_t;
 
@@ -711,7 +730,9 @@
     WIIUSE_WII_BOARD_CTRL_INSERTED,
     WIIUSE_WII_BOARD_CTRL_REMOVED,
     WIIUSE_MOTION_PLUS_ACTIVATED,
-    WIIUSE_MOTION_PLUS_REMOVED
+    WIIUSE_MOTION_PLUS_REMOVED,
+    WIIUSE_TATACON_CTRL_INSERTED,
+    WIIUSE_TATACON_CTRL_REMOVED
 } WIIUSE_EVENT_TYPE;
 
 /**
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/wiiuse-0.15.6/src/wiiuse_internal.h 
new/wiiuse-0.15.7/src/wiiuse_internal.h
--- old/wiiuse-0.15.6/src/wiiuse_internal.h     2024-02-24 16:19:20.000000000 
+0100
+++ new/wiiuse-0.15.7/src/wiiuse_internal.h     2026-02-27 22:11:08.000000000 
+0100
@@ -224,6 +224,7 @@
 #define EXP_ID_CODE_MOTION_PLUS         0xA4200405
 #define EXP_ID_CODE_MOTION_PLUS_NUNCHUK 0xA4200505 /** Motion Plus ID in 
Nunchuck passthrough mode */
 #define EXP_ID_CODE_MOTION_PLUS_CLASSIC 0xA4200705 /** Motion Plus ID in 
Classic control. passthrough */
+#define EXP_ID_CODE_TATACON             0xA4200111
 
 /* decrypted M+ codes at 0x04A600FA */
 #define EXP_ID_CODE_INACTIVE_MOTION_PLUS         0xA6200005         /** 
Inactive Motion Plus ID */
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/wiiuse-0.15.6/wiiuse.pc.in 
new/wiiuse-0.15.7/wiiuse.pc.in
--- old/wiiuse-0.15.6/wiiuse.pc.in      2024-02-24 16:19:20.000000000 +0100
+++ new/wiiuse-0.15.7/wiiuse.pc.in      2026-02-27 22:11:08.000000000 +0100
@@ -1,7 +1,7 @@
 prefix=@CMAKE_INSTALL_PREFIX@
 exec_prefix=${prefix}
-libdir=${prefix}/@CMAKE_INSTALL_LIBDIR@
-includedir=${prefix}/@CMAKE_INSTALL_INCLUDEDIR@
+libdir=@CMAKE_INSTALL_FULL_LIBDIR@
+includedir=@CMAKE_INSTALL_FULL_INCLUDEDIR@
 
 Name: WiiUse
 Description: @PROJECT_DESCRIPTION@

Reply via email to