-
-
Notifications
You must be signed in to change notification settings - Fork 166
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#1274: represent assistant triggers as normal key map trigger keys
- Loading branch information
Showing
12 changed files
with
54 additions
and
28 deletions.
There are no files selected for viewing
30 changes: 30 additions & 0 deletions
30
...c/free/java/io/github/sds100/keymapper/mappings/keymaps/trigger/ConfigTriggerViewModel.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
package io.github.sds100.keymapper.mappings.keymaps.trigger | ||
|
||
import io.github.sds100.keymapper.mappings.keymaps.ConfigKeyMapUseCase | ||
import io.github.sds100.keymapper.mappings.keymaps.CreateKeyMapShortcutUseCase | ||
import io.github.sds100.keymapper.mappings.keymaps.DisplayKeyMapUseCase | ||
import io.github.sds100.keymapper.onboarding.OnboardingUseCase | ||
import io.github.sds100.keymapper.util.ui.ResourceProvider | ||
import kotlinx.coroutines.CoroutineScope | ||
|
||
/** | ||
* Created by sds100 on 24/11/20. | ||
*/ | ||
|
||
class ConfigTriggerViewModel( | ||
coroutineScope: CoroutineScope, | ||
onboarding: OnboardingUseCase, | ||
config: ConfigKeyMapUseCase, | ||
recordTrigger: RecordTriggerUseCase, | ||
createKeyMapShortcut: CreateKeyMapShortcutUseCase, | ||
displayKeyMap: DisplayKeyMapUseCase, | ||
resourceProvider: ResourceProvider, | ||
) : BaseConfigTriggerViewModel( | ||
coroutineScope, | ||
onboarding, | ||
config, | ||
recordTrigger, | ||
createKeyMapShortcut, | ||
displayKeyMap, | ||
resourceProvider, | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 4 additions & 2 deletions
6
.../keymaps/ConfigTriggerOptionsViewModel.kt → .../trigger/ConfigTriggerOptionsViewModel.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters