-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(composite_device): Add all HandyGCCS supported devices.
- Loading branch information
1 parent
55a5981
commit 00491ae
Showing
43 changed files
with
754 additions
and
91 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
70 changes: 70 additions & 0 deletions
70
rootfs/usr/share/inputplumber/capability_maps/ally_type1.yaml
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,70 @@ | ||
# yaml-language-server: $schema=../schema/capability_map_v1.json | ||
# Schema version number | ||
version: 1 | ||
|
||
# The type of configuration schema | ||
kind: CapabilityMap | ||
|
||
# Name for the device event map | ||
name: Ally Type 1 | ||
|
||
# Unique identifier of the capability mapping | ||
id: aly1 | ||
|
||
# List of mapped events that are activated by a specific set of activation keys. | ||
mapping: | ||
#- name: Select | ||
# source_events: | ||
# - gamepad: | ||
# button: Select | ||
# target_event: | ||
# gamepad: | ||
# button: Guide | ||
#- name: Start | ||
# source_events: | ||
# - gamepad: | ||
# button: Start | ||
# target_event: | ||
# gamepad: | ||
# button: QuickAccess | ||
- name: Control Center (Short) | ||
source_events: | ||
- keyboard: KeyF16 | ||
target_event: | ||
gamepad: | ||
button: Guide #Select | ||
- name: Control Center (Long) | ||
source_events: | ||
- keyboard: KeyLeftCtrl | ||
- keyboard: KeyLeftAlt | ||
- keyboard: KeyDelete | ||
target_event: | ||
gamepad: | ||
button: Guide # TODO: Add a more specific button | ||
- name: Armory Crate (Short) | ||
source_events: | ||
- keyboard: KeyProg1 | ||
target_event: | ||
gamepad: | ||
button: QuickAccess #Start | ||
- name: Armory Crate (Long) | ||
source_events: | ||
- keyboard: KeyF17 | ||
target_event: | ||
gamepad: | ||
button: QuickAccess2 | ||
- name: Left Paddle | ||
source_events: | ||
- keyboard: KeyF14 | ||
target_event: | ||
gamepad: | ||
button: LeftPaddle1 | ||
- name: Right Paddle | ||
source_events: | ||
- keyboard: KeyF15 | ||
target_event: | ||
gamepad: | ||
button: RightPaddle1 | ||
|
||
# List of events to filter from the source devices | ||
filtered_events: [] |
46 changes: 46 additions & 0 deletions
46
rootfs/usr/share/inputplumber/capability_maps/anbernic_type1.yaml
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,46 @@ | ||
# yaml-language-server: $schema=../schema/capability_map_v1.json | ||
# Schema version number | ||
version: 1 | ||
|
||
# The type of configuration schema | ||
kind: CapabilityMap | ||
|
||
# Name for the device event map | ||
name: Anbernic Type 1 | ||
|
||
# Unique identifier of the capability mapping | ||
id: anb1 | ||
|
||
# List of mapped events that are activated by a specific set of activation keys. | ||
mapping: | ||
#TODO: Figure out how to use this and also Windows, Keyboard. | ||
#- name: Home (Short Press) | ||
# source_events: | ||
# - keyboard: KeyLeftMeta | ||
# target_event: | ||
# gamepad: | ||
# button: QuickAccess2 | ||
- name: Home (Long Press) | ||
source_events: | ||
- keyboard: KeyEsc | ||
target_event: | ||
gamepad: | ||
button: QuickAccess | ||
- name: Keyboard | ||
source_events: | ||
- keyboard: KeyO | ||
- keyboard: KeyLeftCtrl | ||
- keyboard: KeyLeftMeta | ||
target_event: | ||
gamepad: | ||
button: Keyboard | ||
- name: Windows | ||
source_events: | ||
- keyboard: KeyD | ||
- keyboard: KeyLeftMeta | ||
target_event: | ||
gamepad: | ||
button: Guide | ||
|
||
# List of events to filter from the source devices | ||
filtered_events: [] |
47 changes: 47 additions & 0 deletions
47
rootfs/usr/share/inputplumber/capability_maps/ayaneo_type1.yaml
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,47 @@ | ||
# yaml-language-server: $schema=../schema/capability_map_v1.json | ||
# Schema version number | ||
version: 1 | ||
|
||
# The type of configuration schema | ||
kind: CapabilityMap | ||
|
||
# Name for the device event map | ||
name: AYANEO Type 1 | ||
|
||
# Unique identifier of the capability mapping | ||
id: aya1 | ||
|
||
# List of mapped events that are activated by a specific set of activation keys. | ||
mapping: | ||
#TODO: Figure out how to use this and also KB. | ||
#- name: Win | ||
# source_events: | ||
# - keyboard: KeyLeftMeta | ||
# target_event: | ||
# gamepad: | ||
# button: Screenshot | ||
- name: Task Manager | ||
source_events: | ||
- keyboard: KeyRightCtrl | ||
- keyboard: KeyRightAlt | ||
- keyboard: KeyDelete | ||
target_event: | ||
gamepad: | ||
button: QuickAccess | ||
- name: Keyboard | ||
source_events: | ||
- keyboard: KeyO | ||
- keyboard: KeyRightCtrl | ||
- keyboard: KeyLeftMeta | ||
target_event: | ||
gamepad: | ||
button: Keyboard | ||
- name: Escape | ||
source_events: | ||
- keyboard: KeyEsc | ||
target_event: | ||
gamepad: | ||
button: QuickAccess2 | ||
|
||
# List of events to filter from the source devices | ||
filtered_events: [] |
48 changes: 48 additions & 0 deletions
48
rootfs/usr/share/inputplumber/capability_maps/ayaneo_type2.yaml
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,48 @@ | ||
# yaml-language-server: $schema=../schema/capability_map_v1.json | ||
# Schema version number | ||
version: 1 | ||
|
||
# The type of configuration schema | ||
kind: CapabilityMap | ||
|
||
# Name for the device event map | ||
name: AYANEO Type 2 | ||
|
||
# Unique identifier of the capability mapping | ||
id: aya2 | ||
|
||
# List of mapped events that are activated by a specific set of activation keys. | ||
mapping: | ||
- name: Custom v1 | ||
source_events: | ||
- keyboard: KeyApostrophe | ||
- keyboard: KeyCopy | ||
target_event: | ||
gamepad: | ||
button: QuickAccess | ||
- name: Custom v2 | ||
source_events: | ||
- keyboard: KeyD | ||
- keyboard: KeyLeftMeta | ||
target_event: | ||
gamepad: | ||
button: QuickAccess | ||
- name: Aya Space v1 | ||
source_events: | ||
- keyboard: KeyKpEnter | ||
- keyboard: KeyLeft | ||
- keyboard: KeyCopy | ||
target_event: | ||
gamepad: | ||
button: Guide | ||
- name: Aya Space v2 | ||
source_events: | ||
- keyboard: KeyF12 | ||
- keyboard: KeyRightCtrl | ||
- keyboard: KeyLeftMeta | ||
target_event: | ||
gamepad: | ||
button: Guide | ||
|
||
# List of events to filter from the source devices | ||
filtered_events: [] |
49 changes: 49 additions & 0 deletions
49
rootfs/usr/share/inputplumber/capability_maps/ayaneo_type3.yaml
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,49 @@ | ||
# yaml-language-server: $schema=../schema/capability_map_v1.json | ||
# Schema version number | ||
version: 1 | ||
|
||
# The type of configuration schema | ||
kind: CapabilityMap | ||
|
||
# Name for the device event map | ||
name: AYANEO Type 3 | ||
|
||
# Unique identifier of the capability mapping | ||
id: aya3 | ||
|
||
# List of mapped events that are activated by a specific set of activation keys. | ||
mapping: | ||
- name: Custom | ||
source_events: | ||
- keyboard: KeyD | ||
- keyboard: KeyLeftMeta | ||
target_event: | ||
gamepad: | ||
button: QuickAccess | ||
- name: Aya Space | ||
source_events: | ||
- keyboard: KeyF12 | ||
- keyboard: KeyRightCtrl | ||
- keyboard: KeyLeftMeta | ||
target_event: | ||
gamepad: | ||
button: Guide | ||
- name: LC | ||
source_events: | ||
- keyboard: KeyF11 | ||
- keyboard: KeyRightCtrl | ||
- keyboard: KeyLeftMeta | ||
target_event: | ||
gamepad: | ||
button: LeftTop | ||
- name: RC | ||
source_events: | ||
- keyboard: KeyF10 | ||
- keyboard: KeyRightCtrl | ||
- keyboard: KeyLeftMeta | ||
target_event: | ||
gamepad: | ||
button: RightTop | ||
|
||
# List of events to filter from the source devices | ||
filtered_events: [] |
49 changes: 49 additions & 0 deletions
49
rootfs/usr/share/inputplumber/capability_maps/ayaneo_type4.yaml
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,49 @@ | ||
# yaml-language-server: $schema=../schema/capability_map_v1.json | ||
# Schema version number | ||
version: 1 | ||
|
||
# The type of configuration schema | ||
kind: CapabilityMap | ||
|
||
# Name for the device event map | ||
name: AYANEO Type 4 | ||
|
||
# Unique identifier of the capability mapping | ||
id: aya4 | ||
|
||
# List of mapped events that are activated by a specific set of activation keys. | ||
mapping: | ||
- name: Custom | ||
source_events: | ||
- keyboard: KeyD | ||
- keyboard: KeyLeftMeta | ||
target_event: | ||
gamepad: | ||
button: QuickAccess | ||
- name: Aya Space | ||
source_events: | ||
- keyboard: KeyRightCtrl | ||
- keyboard: KeyLeftMeta | ||
- keyboard: KeyF17 | ||
target_event: | ||
gamepad: | ||
button: Guide | ||
- name: LC | ||
source_events: | ||
- keyboard: KeyRightCtrl | ||
- keyboard: KeyLeftMeta | ||
- keyboard: KeyF15 | ||
target_event: | ||
gamepad: | ||
button: LeftTop | ||
- name: RC | ||
source_events: | ||
- keyboard: KeyRightCtrl | ||
- keyboard: KeyLeftMeta | ||
- keyboard: KeyF16 | ||
target_event: | ||
gamepad: | ||
button: RightTop | ||
|
||
# List of events to filter from the source devices | ||
filtered_events: [] |
49 changes: 49 additions & 0 deletions
49
rootfs/usr/share/inputplumber/capability_maps/ayaneo_type5.yaml
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,49 @@ | ||
# yaml-language-server: $schema=../schema/capability_map_v1.json | ||
# Schema version number | ||
version: 1 | ||
|
||
# The type of configuration schema | ||
kind: CapabilityMap | ||
|
||
# Name for the device event map | ||
name: AYANEO Type 5 | ||
|
||
# Unique identifier of the capability mapping | ||
id: aya5 | ||
|
||
# List of mapped events that are activated by a specific set of activation keys. | ||
mapping: | ||
- name: Custom | ||
source_events: | ||
- keyboard: KeyD | ||
- keyboard: KeyLeftMeta | ||
target_event: | ||
gamepad: | ||
button: QuickAccess | ||
- name: Aya Space | ||
source_events: | ||
- keyboard: KeyLeftCtrl | ||
- keyboard: KeyLeftMeta | ||
- keyboard: KeyF17 | ||
target_event: | ||
gamepad: | ||
button: Guide | ||
- name: LC | ||
source_events: | ||
- keyboard: KeyLeftCtrl | ||
- keyboard: KeyLeftMeta | ||
- keyboard: KeyF15 | ||
target_event: | ||
gamepad: | ||
button: LeftTop | ||
- name: RC | ||
source_events: | ||
- keyboard: KeyLeftCtrl | ||
- keyboard: KeyLeftMeta | ||
- keyboard: KeyF16 | ||
target_event: | ||
gamepad: | ||
button: RightTop | ||
|
||
# List of events to filter from the source devices | ||
filtered_events: [] |
Oops, something went wrong.