map steam deck inputs
This commit is contained in:
parent
70a8584dee
commit
2522f7f8e6
4
home.nix
4
home.nix
@ -3,6 +3,7 @@
|
||||
let
|
||||
# Define variables for your workspaces and displays
|
||||
display1 = "card1-eDP-1"; # Replace with your actual display identifier
|
||||
touchDisplay = "10248:4117:FTS3528:00_2808:1015";
|
||||
workspace1 = "1:Web";
|
||||
workspace2 = "2:App";
|
||||
workspace3 = "3:Chat";
|
||||
@ -153,7 +154,7 @@ in
|
||||
{command = "logseq";}
|
||||
{command = "thunderbird";}
|
||||
{command = "firefox";}
|
||||
{command = "steam";}
|
||||
#{command = "steam";}
|
||||
# Update environment variables
|
||||
{command = "dbus-update-activation-environment --systemd DISPLAY WAYLAND_DISPLAY SWAYSOCK XDG_CURRENT_DESKTOP XDG_SESSION_TYPE NIXOS_OZONE_WL XCURSOR_THEME XCURSOR_SIZE PATH";}
|
||||
# Start sway-session.target
|
||||
@ -162,6 +163,7 @@ in
|
||||
|
||||
# Keyboard layout
|
||||
input = {
|
||||
# input touchDisplay
|
||||
"type:touch" = {
|
||||
map_to_output = "${display1}";
|
||||
};
|
||||
|
180
sway_inputs.txt
Normal file
180
sway_inputs.txt
Normal file
@ -0,0 +1,180 @@
|
||||
[
|
||||
{
|
||||
"identifier": "1133:45943:Pebble_K380s",
|
||||
"name": "Pebble K380s",
|
||||
"type": "keyboard",
|
||||
"repeat_delay": 600,
|
||||
"repeat_rate": 25,
|
||||
"xkb_layout_names": [
|
||||
"German"
|
||||
],
|
||||
"xkb_active_layout_index": 0,
|
||||
"xkb_active_layout_name": "German",
|
||||
"libinput": {
|
||||
"send_events": "enabled"
|
||||
},
|
||||
"vendor": 1133,
|
||||
"product": 45943
|
||||
},
|
||||
{
|
||||
"identifier": "1:1:AT_Translated_Set_2_keyboard",
|
||||
"name": "AT Translated Set 2 keyboard",
|
||||
"type": "keyboard",
|
||||
"repeat_delay": 600,
|
||||
"repeat_rate": 25,
|
||||
"xkb_layout_names": [
|
||||
"German"
|
||||
],
|
||||
"xkb_active_layout_index": 0,
|
||||
"xkb_active_layout_name": "German",
|
||||
"libinput": {
|
||||
"send_events": "enabled"
|
||||
},
|
||||
"vendor": 1,
|
||||
"product": 1
|
||||
},
|
||||
{
|
||||
"identifier": "10248:4117:FTS3528:00_2808:1015_UNKNOWN",
|
||||
"name": "FTS3528:00 2808:1015 UNKNOWN",
|
||||
"type": "tablet_tool",
|
||||
"libinput": {
|
||||
"send_events": "enabled",
|
||||
"accel_speed": 0.0,
|
||||
"accel_profile": "none",
|
||||
"left_handed": "disabled"
|
||||
},
|
||||
"vendor": 10248,
|
||||
"product": 4117
|
||||
},
|
||||
{
|
||||
"identifier": "10248:4117:FTS3528:00_2808:1015",
|
||||
"name": "FTS3528:00 2808:1015",
|
||||
"type": "touch",
|
||||
"libinput": {
|
||||
"send_events": "disabled",
|
||||
"calibration_matrix": [
|
||||
1.0,
|
||||
0.0,
|
||||
0.0,
|
||||
0.0,
|
||||
1.0,
|
||||
0.0
|
||||
]
|
||||
},
|
||||
"vendor": 10248,
|
||||
"product": 4117
|
||||
},
|
||||
{
|
||||
"identifier": "0:0:sof-nau8821-max_Headset_Jack",
|
||||
"name": "sof-nau8821-max Headset Jack",
|
||||
"type": "keyboard",
|
||||
"repeat_delay": 600,
|
||||
"repeat_rate": 25,
|
||||
"xkb_layout_names": [
|
||||
"German"
|
||||
],
|
||||
"xkb_active_layout_index": 0,
|
||||
"xkb_active_layout_name": "German",
|
||||
"libinput": {
|
||||
"send_events": "enabled"
|
||||
},
|
||||
"vendor": 0,
|
||||
"product": 0
|
||||
},
|
||||
{
|
||||
"identifier": "10462:4613:Valve_Software_Steam_Controller",
|
||||
"name": "Valve Software Steam Controller",
|
||||
"type": "keyboard",
|
||||
"repeat_delay": 600,
|
||||
"repeat_rate": 25,
|
||||
"xkb_layout_names": [
|
||||
"German"
|
||||
],
|
||||
"xkb_active_layout_index": 0,
|
||||
"xkb_active_layout_name": "German",
|
||||
"libinput": {
|
||||
"send_events": "enabled"
|
||||
},
|
||||
"vendor": 10462,
|
||||
"product": 4613
|
||||
},
|
||||
{
|
||||
"identifier": "10462:4613:Valve_Software_Steam_Controller",
|
||||
"name": "Valve Software Steam Controller",
|
||||
"type": "pointer",
|
||||
"scroll_factor": 1.0,
|
||||
"libinput": {
|
||||
"send_events": "enabled",
|
||||
"accel_speed": 0.0,
|
||||
"accel_profile": "adaptive",
|
||||
"natural_scroll": "disabled",
|
||||
"left_handed": "disabled",
|
||||
"scroll_method": "none",
|
||||
"scroll_button": 273,
|
||||
"scroll_button_lock": "disabled"
|
||||
},
|
||||
"vendor": 10462,
|
||||
"product": 4613
|
||||
},
|
||||
{
|
||||
"identifier": "0:5:Lid_Switch",
|
||||
"name": "Lid Switch",
|
||||
"type": "switch",
|
||||
"libinput": {
|
||||
"send_events": "enabled"
|
||||
},
|
||||
"vendor": 0,
|
||||
"product": 5
|
||||
},
|
||||
{
|
||||
"identifier": "0:1:Power_Button",
|
||||
"name": "Power Button",
|
||||
"type": "keyboard",
|
||||
"repeat_delay": 600,
|
||||
"repeat_rate": 25,
|
||||
"xkb_layout_names": [
|
||||
"German"
|
||||
],
|
||||
"xkb_active_layout_index": 0,
|
||||
"xkb_active_layout_name": "German",
|
||||
"libinput": {
|
||||
"send_events": "enabled"
|
||||
},
|
||||
"vendor": 0,
|
||||
"product": 1
|
||||
},
|
||||
{
|
||||
"identifier": "0:6:Video_Bus",
|
||||
"name": "Video Bus",
|
||||
"type": "keyboard",
|
||||
"repeat_delay": 600,
|
||||
"repeat_rate": 25,
|
||||
"xkb_layout_names": [
|
||||
"German"
|
||||
],
|
||||
"xkb_active_layout_index": 0,
|
||||
"xkb_active_layout_name": "German",
|
||||
"libinput": {
|
||||
"send_events": "enabled"
|
||||
},
|
||||
"vendor": 0,
|
||||
"product": 6
|
||||
},
|
||||
{
|
||||
"identifier": "0:1:Power_Button",
|
||||
"name": "Power Button",
|
||||
"type": "keyboard",
|
||||
"repeat_delay": 600,
|
||||
"repeat_rate": 25,
|
||||
"xkb_layout_names": [
|
||||
"German"
|
||||
],
|
||||
"xkb_active_layout_index": 0,
|
||||
"xkb_active_layout_name": "German",
|
||||
"libinput": {
|
||||
"send_events": "enabled"
|
||||
},
|
||||
"vendor": 0,
|
||||
"product": 1
|
||||
}
|
||||
]
|
Loading…
Reference in New Issue
Block a user