Skip to content

Commit

Permalink
kbm controller
Browse files Browse the repository at this point in the history
  • Loading branch information
diegolix29 committed Dec 11, 2024
1 parent 5c5ed20 commit ae22976
Show file tree
Hide file tree
Showing 27 changed files with 4,021 additions and 35 deletions.
9 changes: 9 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -788,6 +788,8 @@ set(IMGUI src/imgui/imgui_config.h

set(INPUT src/input/controller.cpp
src/input/controller.h
src/input/input_handler.cpp
src/input/input_handler.h
)

set(EMULATOR src/emulator.cpp
Expand All @@ -814,9 +816,16 @@ set(QT_GUI src/qt_gui/about_dialog.cpp
src/qt_gui/background_music_player.h
src/qt_gui/cheats_patches.cpp
src/qt_gui/cheats_patches.h
src/qt_gui/control_settings.cpp
src/qt_gui/control_settings.h
src/qt_gui/control_settings.ui
src/qt_gui/main_window_ui.h
src/qt_gui/main_window.cpp
src/qt_gui/main_window.h
src/qt_gui/kbm_config_dialog.cpp
src/qt_gui/kbm_config_dialog.h
src/qt_gui/kbm_help_dialog.cpp
src/qt_gui/kbm_help_dialog.h
src/qt_gui/gui_context_menus.h
src/qt_gui/game_list_utils.h
src/qt_gui/game_info.cpp
Expand Down
5 changes: 3 additions & 2 deletions REUSE.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ path = [
"scripts/ps4_names.txt",
"src/images/about_icon.png",
"src/images/controller_icon.png",
"src/images/ps4_controller.png",
"src/images/discord.png",
"src/images/dump_icon.png",
"src/images/exit_icon.png",
Expand All @@ -31,6 +32,7 @@ path = [
"src/images/folder_icon.png",
"src/images/github.png",
"src/images/grid_icon.png",
"src/images/keyboard_icon.png",
"src/images/iconsize_icon.png",
"src/images/ko-fi.png",
"src/images/list_icon.png",
Expand Down Expand Up @@ -94,5 +96,4 @@ SPDX-License-Identifier = "MIT"
[[annotations]]
path = "externals/gcn/include/**"
SPDX-FileCopyrightText = "NONE"
SPDX-License-Identifier = "CC0-1.0"

SPDX-License-Identifier = "CC0-1.0"
60 changes: 60 additions & 0 deletions net.shadps4.shadPS4.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
# SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
# SPDX-License-Identifier: GPL-2.0-or-later

id: net.shadps4.shadPS4
runtime: org.kde.Platform
runtime-version: '6.8'
sdk: org.kde.Sdk
command: shadps4
separate-locales: false
finish-args:
- --share=network
- --socket=pulseaudio
- --socket=wayland
- --socket=fallback-x11
- --allow=bluetooth
- --filesystem=home
- --device=dri
- --device=input
- --filesystem=/media
- --filesystem=/run/media
- --talk-name=org.kde.StatusNotifierWatcher
sdk-extensions:
- org.freedesktop.Sdk.Extension.llvm18
add-extensions:
org.freedesktop.Platform.ffmpeg-full:
directory: lib/ffmpeg
add-ld-path: .
version: '24.08'
autodownload: true
autodelete: false
cleanup-commands:
- mkdir -p ${FLATPAK_DEST}/lib/ffmpeg
modules:
- name: rapidjson
buildsystem: cmake
config-opts:
- -DRAPIDJSON_BUILD_CXX11=OFF
- -DRAPIDJSON_BUILD_TESTS=OFF
sources:
- type: git
url: https://github.com/Tencent/rapidjson.git
commit: 858451e5b7d1c56cf8f6d58f88cf958351837e53
cleanup:
- '*'
- name: shadPS4
buildsystem: cmake
builddir: true
build-options:
append-path: /usr/lib/sdk/llvm18/bin
prepend-ld-library-path: /usr/lib/sdk/llvm18/lib
config-opts:
- -DCMAKE_BUILD_TYPE=Release
- -DENABLE_QT_GUI=ON
- -DENABLE_UPDATER=OFF
- -DCMAKE_C_COMPILER=clang
- -DCMAKE_CXX_COMPILER=clang++
sources:
- type: dir
path: .

Loading

0 comments on commit ae22976

Please sign in to comment.