diff --git a/.gitignore b/.gitignore index 686d8a1..09489ef 100644 --- a/.gitignore +++ b/.gitignore @@ -8,3 +8,5 @@ C/build/ *.pnproj *.pnps *.ppg +*.smdh +*.elf diff --git a/3DS_Controller-evdev.py b/3DS_Controller-evdev.py index 543367d..e8141c6 100755 --- a/3DS_Controller-evdev.py +++ b/3DS_Controller-evdev.py @@ -67,7 +67,7 @@ device = { ], } -ui = UInput(device, name="3DS", phys="3ds-uinput", vendor=0x1, version=0x1, product=0x1) +ui = UInput(device, name="3DS", phys="3ds", vendor=0x1, version=0x1, product=0x1) gyroAxis = { e.EV_ABS: [ @@ -80,7 +80,7 @@ gyroAxis = { ] } -uiGyro = UInput(gyroAxis, name="3DS Gyroscope", phys="3ds-sensors", vendor=0x2, version=0x2, product=0x2, input_props=[6]) +uiGyro = UInput(gyroAxis, name="3DS Gyroscope", phys="3ds", vendor=0x1, version=0x1, product=0x2, input_props=[6]) if (debug): print (ui) diff --git a/3DSsource/3DSController.3ds b/3DSsource/3DSController.3ds index 8a8460e..fff88ad 100644 Binary files a/3DSsource/3DSController.3ds and b/3DSsource/3DSController.3ds differ diff --git a/3DSsource/3DSController.cia b/3DSsource/3DSController.cia index b214901..d2b6a8d 100644 Binary files a/3DSsource/3DSController.cia and b/3DSsource/3DSController.cia differ diff --git a/3DSsource/Makefile b/3DSsource/Makefile index 014f455..60a8993 100644 --- a/3DSsource/Makefile +++ b/3DSsource/Makefile @@ -32,9 +32,9 @@ SOURCES := source DATA := data INCLUDES := include -APP_TITLE := 3DS Controller -APP_DESCRIPTION := -APP_AUTHOR := CTurt +APP_TITLE := 3DS Controller-NG +APP_DESCRIPTION := Program to use your 3DS as a controller in your PC +APP_AUTHOR := CTurt/Fijxu ICON := cxi/icon48x48.png #--------------------------------------------------------------------------------- diff --git a/3DSsource/cxi/build_cia.rsf b/3DSsource/cxi/build_cia.rsf index 8cbde36..262f561 100644 --- a/3DSsource/cxi/build_cia.rsf +++ b/3DSsource/cxi/build_cia.rsf @@ -1,5 +1,5 @@ BasicInfo: - Title : "3DS Controller" + Title : "3DS Controller-NG" ProductCode : "CTR-N-3DSC" Logo : Nintendo # Nintendo / Licensed / Distributed / iQue / iQueForSystem @@ -63,7 +63,7 @@ AccessControlInfo: IdealProcessor : 0 AffinityMask : 1 Priority : 16 - MaxCpu : 0x9E # Default + MaxCpu : 0 # Default HandleTableSize : 0x200 DisableDebug : true EnableForceDebug : false @@ -77,9 +77,9 @@ AccessControlInfo: # New3DS Exclusive Process Settings SystemModeExt : Legacy # Legacy(Default)/124MB/178MB Legacy:Use Old3DS SystemMode - CpuSpeed : 804MHz # 256MHz(Default)/804MHz - EnableL2Cache : true # false(default)/true - CanAccessCore2 : true + CpuSpeed : 268MHz # 256MHz(Default)/804MHz + EnableL2Cache : false # false(default)/true + CanAccessCore2 : false # Virtual Address Mappings IORegisterMapping: diff --git a/3DSsource/cxi/icon24x24.png b/3DSsource/cxi/icon24x24.png index 3086415..295fe91 100644 Binary files a/3DSsource/cxi/icon24x24.png and b/3DSsource/cxi/icon24x24.png differ diff --git a/3DSsource/cxi/icon48x48.png b/3DSsource/cxi/icon48x48.png index e158664..92ebf44 100644 Binary files a/3DSsource/cxi/icon48x48.png and b/3DSsource/cxi/icon48x48.png differ