-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
*.iml | ||
.gradle | ||
/local.properties | ||
/.idea/caches | ||
/.idea/libraries | ||
/.idea/modules.xml | ||
/.idea/workspace.xml | ||
/.idea/navEditor.xml | ||
/.idea/assetWizardSettings.xml | ||
.DS_Store | ||
/build | ||
/captures | ||
.externalNativeBuild | ||
.cxx | ||
local.properties |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,25 @@ | ||
# OdinTools | ||
Collection of utilities for the AYN Odin 2. This is a release repo as the app is currently closed source until I clean it up a bit more :) | ||
Collection of utilities for the AYN Odin 2. | ||
|
||
Latest release: **[0.3.0](https://github.com/langerhans/OdinTools/releases/latest)** | ||
Latest release: **[1.0.1](https://github.com/langerhans/OdinTools/releases/latest)** | ||
|
||
### Features | ||
- Quick settings tile for switching the controller style with user selectable option for which styles to cycle through | ||
- Quick settings tile for switching the L2/R2 style with user selectable option for which styles to cycle through | ||
- Single press home button setting to allow going to the home screen by a single press of the home button | ||
- Display saturation setting. This is set immediately and will be applied after a reboot as well. Note that it takes a few seconds after you first unlock the device to apply. | ||
- Per-app overrides for both controller style and L2/R2 style settings. These will be applied and reverted automatically based on the current foreground app | ||
|
||
### Contact | ||
If you have any questions, feel free to find me on the AYN Discord at https://discord.com/invite/pWCpvEUTdR | ||
|
||
### Compatibility | ||
This app has been tested with the Odin 2 firmware version **1.0.0.208**. It's possible that AYN breaks the methods used by this app in a future update. The app will warn you accordingly if that's the case. | ||
This app has been tested with the Odin 2 firmware version **1.0.0.253**. It's possible that AYN breaks the methods used by this app in a future update. The app will warn you accordingly if that's the case. | ||
|
||
### Screenshots | ||
![image](https://github.com/langerhans/OdinTools/assets/5160000/a977def1-b7b3-40a3-a3de-0ea13aa836db) | ||
![image](https://github.com/langerhans/OdinTools/assets/5160000/bc0ff9bf-d4b8-424a-8633-b2413e475aaf) | ||
|
||
#### Main menu | ||
![image](docs/main.png) | ||
#### QS tiles | ||
![image](docs/qs_tiles.png) | ||
#### App overrides | ||
![image](docs/app_overrides.png) |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
/build | ||
/release |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,81 @@ | ||
plugins { | ||
alias(libs.plugins.com.android.application) | ||
alias(libs.plugins.org.jetbrains.kotlin.android) | ||
alias(libs.plugins.com.google.dagger.hilt.android) | ||
alias(libs.plugins.com.google.devtools.ksp) | ||
alias(libs.plugins.androidx.room) | ||
} | ||
|
||
android { | ||
namespace = "de.langerhans.odintools" | ||
compileSdk = 34 | ||
|
||
defaultConfig { | ||
applicationId = "de.langerhans.odintools" | ||
minSdk = 33 | ||
targetSdk = 34 | ||
versionCode = 6 | ||
versionName = "1.0.1" | ||
|
||
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner" | ||
} | ||
|
||
buildTypes { | ||
release { | ||
initWith(buildTypes.getByName("debug")) | ||
isMinifyEnabled = true | ||
proguardFiles(getDefaultProguardFile("proguard-android-optimize.txt"), "proguard-rules.pro") | ||
applicationVariants.all { | ||
val variant = this | ||
outputs | ||
.map { it as com.android.build.gradle.internal.api.BaseVariantOutputImpl } | ||
.forEach { | ||
it.outputFileName = "OdinTools-${variant.versionName}.apk" | ||
} | ||
} | ||
} | ||
} | ||
compileOptions { | ||
sourceCompatibility = JavaVersion.VERSION_11 | ||
targetCompatibility = JavaVersion.VERSION_11 | ||
} | ||
kotlinOptions { | ||
jvmTarget = "11" | ||
} | ||
buildFeatures { | ||
compose = true | ||
buildConfig = true | ||
} | ||
composeOptions { | ||
kotlinCompilerExtensionVersion = "1.5.8" | ||
} | ||
packaging { | ||
resources { | ||
excludes += "/META-INF/{AL2.0,LGPL2.1}" | ||
} | ||
} | ||
} | ||
|
||
room { | ||
schemaDirectory("$projectDir/schemas") | ||
} | ||
|
||
kotlin { | ||
jvmToolchain(11) | ||
} | ||
|
||
dependencies { | ||
// Compose BOM specifics | ||
val composeBom = platform(libs.androidx.compose.bom) | ||
implementation(composeBom) | ||
androidTestImplementation(composeBom) | ||
debugImplementation(composeBom) | ||
|
||
// Normal imports | ||
implementation(libs.bundles.app) | ||
debugImplementation(libs.bundles.appDebug) | ||
annotationProcessor(libs.bundles.appAnnotationProcessor) | ||
ksp(libs.bundles.appKsp) | ||
testImplementation(libs.bundles.appUnitTest) | ||
androidTestImplementation(libs.bundles.appAndroidTest) | ||
} |