Package Details: joyshockmapper-git v1.6.1.r3.g084480c-2

Git Clone URL: https://aur.archlinux.org/joyshockmapper-git.git (read-only, click to copy)
Package Base: joyshockmapper-git
Description: Play PC games with Sony PlayStation DualShock 4, Nintendo Switch JoyCons or Nintendo Switch Pro Controller using gyroscopic controls
Upstream URL: http://gyrowiki.jibbsmart.com/
Keywords: gyro joyshockmapper
Licenses: MIT
Conflicts: joyshockmapper, joyshockmapper-git
Provides: joyshockmapper
Submitter: kicsyromy
Maintainer: kicsyromy
Last Packager: kicsyromy
Votes: 0
Popularity: 0.000000
First Submitted: 2020-07-18 18:36
Last Updated: 2020-07-20 09:24

Latest Comments

superpamcakes commented on 2020-09-26 10:00

if this happens to successfully build for you by chance go buy a lottery ticket

kicsyromy commented on 2020-08-15 11:56

@gardotd426 I'll have a look at it, thanks for the heads-up. In the mean time you can get the binary stable version from OBS: https://download.opensuse.org/repositories/home:/kicsyromy/Arch/

gardotd426 commented on 2020-08-15 10:58

This fails to build.


/tmp/makepkg/joyshockmapper-git/src/JoyShockMapper/JoyShockMapper/src/linux/PlatformDefinitions.cpp:13:13: error: redefinition of 'AUTOLOAD_FOLDER' as different kind of symbol
const char *AUTOLOAD_FOLDER = [] {
            ^
/tmp/makepkg/joyshockmapper-git/src/JoyShockMapper/JoyShockMapper/include/PlatformDefinitions.h:106:20: note: previous definition is here
extern const char *AUTOLOAD_FOLDER();
                   ^
/tmp/makepkg/joyshockmapper-git/src/JoyShockMapper/JoyShockMapper/src/linux/PlatformDefinitions.cpp:30:13: error: redefinition of 'GYRO_CONFIGS_FOLDER' as different kind of symbol
const char *GYRO_CONFIGS_FOLDER = [] {
            ^
/tmp/makepkg/joyshockmapper-git/src/JoyShockMapper/JoyShockMapper/include/PlatformDefinitions.h:107:20: note: previous definition is here
extern const char *GYRO_CONFIGS_FOLDER();
                   ^
/tmp/makepkg/joyshockmapper-git/src/JoyShockMapper/JoyShockMapper/src/linux/PlatformDefinitions.cpp:47:13: error: redefinition of 'BASE_JSM_CONFIG_FOLDER' as different kind of symbol
const char *BASE_JSM_CONFIG_FOLDER = [] {
            ^
/tmp/makepkg/joyshockmapper-git/src/JoyShockMapper/JoyShockMapper/include/PlatformDefinitions.h:108:20: note: previous definition is here
extern const char *BASE_JSM_CONFIG_FOLDER();
                   ^
/tmp/makepkg/joyshockmapper-git/src/JoyShockMapper/JoyShockMapper/src/linux/PlatformDefinitions.cpp:76:15: error: out-of-line definition of 'nameToKey' does not match any declaration in 'KeyCode'
WORD KeyCode::nameToKey(const std::string &name)
              ^~~~~~~~~
4 errors generated.
make[2]: *** [JoyShockMapper/CMakeFiles/JoyShockMapper.dir/build.make:147: JoyShockMapper/CMakeFiles/JoyShockMapper.dir/src/linux/PlatformDefinitions.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
/tmp/makepkg/joyshockmapper-git/src/JoyShockMapper/JoyShockMapper/src/linux/InputHelpers.cpp:701:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result]
        ::system("xdg-open https://github.com/JibbSmart/JoyShockMapper/blob/master/README.md");
        ^~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 warning generated.
/tmp/makepkg/joyshockmapper-git/src/JoyShockMapper/JoyShockMapper/src/main.cpp:174:10: error: no matching conversion for functional-style cast from 'const char [100]' to 'std::exception'
                        throw exception("ChordStack should always include ButtonID::NONE, for the chorded variable to return the base value.");
                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/10.1.0/../../../../include/c++/10.1.0/bits/exception.h:66:5: note: candidate constructor not viable: no known conversion from 'const char [100]' to 'const std::exception' for 1st argument
    exception(const exception&) = default;
    ^
/usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/10.1.0/../../../../include/c++/10.1.0/bits/exception.h:68:5: note: candidate constructor not viable: no known conversion from 'const char [100]' to 'std::exception' for 1st argument
    exception(exception&&) = default;
    ^
/usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/10.1.0/../../../../include/c++/10.1.0/bits/exception.h:63:5: note: candidate constructor not viable: requires 0 arguments, but 1 was provided
    exception() _GLIBCXX_NOTHROW { }
    ^
/tmp/makepkg/joyshockmapper-git/src/JoyShockMapper/JoyShockMapper/src/main.cpp:365:11: warning: enumeration values 'OnTurbo', 'OnTapRelease', and 'INVALID' not handled in switch [-Wswitch]
                switch (evt)
                        ^
/tmp/makepkg/joyshockmapper-git/src/JoyShockMapper/JoyShockMapper/src/main.cpp:442:10: warning: enumeration value 'None' not handled in switch [-Wswitch]
        switch (actMod)
                ^
/tmp/makepkg/joyshockmapper-git/src/JoyShockMapper/JoyShockMapper/src/main.cpp:470:35: error: second argument to 'va_arg' is of non-POD type 'OnEventAction' (aka 'function<void (DigitalButton *)>') [-Wnon-pod-varargs]
                auto action = va_arg(arguments, OnEventAction);
                                                ^~~~~~~~~~~~~
/usr/lib/clang/10.0.1/include/stdarg.h:19:50: note: expanded from macro 'va_arg'
#define va_arg(ap, type)    __builtin_va_arg(ap, type)
                                                 ^~~~
/tmp/makepkg/joyshockmapper-git/src/JoyShockMapper/JoyShockMapper/src/main.cpp:494:11: warning: 15 enumeration values not handled in switch: 'INVALID', 'NONE', 'LUP'... [-Wswitch]
                switch (index) {
                        ^
/tmp/makepkg/joyshockmapper-git/src/JoyShockMapper/JoyShockMapper/src/main.cpp:600:12: warning: 49 enumeration values not handled in switch: 'INVALID', 'MIN_GYRO_SENS', 'MAX_GYRO_SENS'... [-Wswitch]
                        switch (index) {
                                ^
/tmp/makepkg/joyshockmapper-git/src/JoyShockMapper/JoyShockMapper/src/main.cpp:653:12: warning: 32 enumeration values not handled in switch: 'INVALID', 'MIN_GYRO_SENS', 'MAX_GYRO_SENS'... [-Wswitch]
                        switch (index)
                                ^
/tmp/makepkg/joyshockmapper-git/src/JoyShockMapper/JoyShockMapper/src/main.cpp:753:12: warning: 56 enumeration values not handled in switch: 'INVALID', 'MIN_GYRO_THRESHOLD', 'MAX_GYRO_THRESHOLD'... [-Wswitch]
                        switch (index)
                                ^
/tmp/makepkg/joyshockmapper-git/src/JoyShockMapper/JoyShockMapper/src/main.cpp:1911:10: warning: enumeration value 'INVALID' not handled in switch [-Wswitch]
        switch (gyro.ignore_mode) {
                ^
/tmp/makepkg/joyshockmapper-git/src/JoyShockMapper/JoyShockMapper/src/main.cpp:600:12: warning: 49 enumeration values not handled in switch: 'INVALID', 'MIN_GYRO_SENS', 'MAX_GYRO_SENS'... [-Wswitch]
                        switch (index) {
                                ^
/tmp/makepkg/joyshockmapper-git/src/JoyShockMapper/JoyShockMapper/src/main.cpp:600:12: warning: 49 enumeration values not handled in switch: 'INVALID', 'MIN_GYRO_SENS', 'MAX_GYRO_SENS'... [-Wswitch]
/tmp/makepkg/joyshockmapper-git/src/JoyShockMapper/JoyShockMapper/src/main.cpp:600:12: warning: 49 enumeration values not handled in switch: 'INVALID', 'MIN_GYRO_SENS', 'MAX_GYRO_SENS'... [-Wswitch]
/tmp/makepkg/joyshockmapper-git/src/JoyShockMapper/JoyShockMapper/src/main.cpp:600:12: warning: 49 enumeration values not handled in switch: 'INVALID', 'MIN_GYRO_SENS', 'MAX_GYRO_SENS'... [-Wswitch]
/tmp/makepkg/joyshockmapper-git/src/JoyShockMapper/JoyShockMapper/src/main.cpp:600:12: warning: 49 enumeration values not handled in switch: 'INVALID', 'MIN_GYRO_SENS', 'MAX_GYRO_SENS'... [-Wswitch]
/tmp/makepkg/joyshockmapper-git/src/JoyShockMapper/JoyShockMapper/src/main.cpp:600:12: warning: 49 enumeration values not handled in switch: 'INVALID', 'MIN_GYRO_SENS', 'MAX_GYRO_SENS'... [-Wswitch]
13 warnings and 2 errors generated.
make[2]: *** [JoyShockMapper/CMakeFiles/JoyShockMapper.dir/build.make:82: JoyShockMapper/CMakeFiles/JoyShockMapper.dir/src/main.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:172: JoyShockMapper/CMakeFiles/JoyShockMapper.dir/all] Error 2
make: *** [Makefile:149: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...
error making: %!s(func() string=0x555555a2da60)