mirror of
https://github.com/archr-linux/Arch-R.git
synced 2026-03-31 14:41:55 -07:00
Merge pull request #2316 from loki666/odin2_mapping
sm8550/inputplumber: map back button to record
This commit is contained in:
@@ -83,6 +83,16 @@ mapping:
|
||||
gamepad:
|
||||
button: Select
|
||||
|
||||
- name: Screenshot Button
|
||||
source_events:
|
||||
- evdev:
|
||||
event_type: KEY
|
||||
event_code: BTN_BACK
|
||||
value_type: button
|
||||
target_event:
|
||||
gamepad:
|
||||
button: Screenshot
|
||||
|
||||
- name: Right Trigger
|
||||
source_events:
|
||||
- evdev:
|
||||
|
||||
@@ -1,44 +0,0 @@
|
||||
# yaml-language-server: $schema=https://raw.githubusercontent.com/ShadowBlip/InputPlumber/main/rootfs/usr/share/inputplumber/schema/composite_device_v1.json
|
||||
# Schema version number
|
||||
version: 1
|
||||
|
||||
# The type of configuration schema
|
||||
kind: CompositeDevice
|
||||
|
||||
# Name of the composite device mapping
|
||||
name: Retroid Pocket Layout
|
||||
|
||||
# Only use this profile if *any* of the given matches matches. If this list is
|
||||
# empty, then the source devices will *always* be checked.
|
||||
# /sys/class/dmi/id/product_name
|
||||
#matches:
|
||||
# - udev:
|
||||
# sys_path: /sys/firmware/devicetree/base
|
||||
# attributes:
|
||||
# - name: model
|
||||
# value: Retroid Pocket 6
|
||||
matches: []
|
||||
|
||||
# Only allow a single source device per composite device of this type.
|
||||
single_source: false
|
||||
|
||||
# One or more source devices to combine into a single virtual device. The events
|
||||
# from these devices will be watched and translated according to the key map.
|
||||
source_devices:
|
||||
- group: gamepad
|
||||
evdev:
|
||||
phys_path: rsinput-gamepad/input0
|
||||
handler: event*
|
||||
|
||||
# Optional configuration for the composite device
|
||||
options:
|
||||
# If true, InputPlumber will automatically try to manage the input device. If
|
||||
# this is false, InputPlumber will not try to manage the device unless an
|
||||
# external service enables management of the device. Defaults to 'false'
|
||||
auto_manage: true
|
||||
|
||||
# The target input device(s) to emulate by default
|
||||
target_devices:
|
||||
- xbox-series
|
||||
- mouse
|
||||
- keyboard
|
||||
Reference in New Issue
Block a user