diff options
author | aszlig <aszlig@redmoonstudios.org> | 2016-01-26 04:11:51 +0100 |
---|---|---|
committer | aszlig <aszlig@redmoonstudios.org> | 2016-01-26 04:11:51 +0100 |
commit | ba0055e0bd4159ce533ab790d7c7bd10e14a5b6a (patch) | |
tree | 4019145ef6ef564928e05378b02a0c99a5bc826e /modules/user/aszlig | |
parent | 1515bae55bfd6c21d6277883826a88cc12cce7d7 (diff) |
profiles/workstation: Add my PlayStation 2 gamepad
This one is a PlayStation 2 gamepad connected via USB using some GreenAsia adapter. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
Diffstat (limited to 'modules/user/aszlig')
-rw-r--r-- | modules/user/aszlig/profiles/workstation/default.nix | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/modules/user/aszlig/profiles/workstation/default.nix b/modules/user/aszlig/profiles/workstation/default.nix index 38adc853..2e0d8a40 100644 --- a/modules/user/aszlig/profiles/workstation/default.nix +++ b/modules/user/aszlig/profiles/workstation/default.nix @@ -76,6 +76,32 @@ in { + " git merge -m \"${message}\" --log FETCH_HEAD"; }; + vuizvui.hardware.gameController."03000000ff1100004133000010010000" = { + name = "PS2 Controller"; + mapping = { + a = "b2"; + b = "b1"; + x = "b3"; + y = "b0"; + back = "b8"; + start = "b9"; + leftshoulder = "b6"; + rightshoulder = "b7"; + leftstick = "b10"; + rightstick = "b11"; + leftx = "a0"; + lefty = "a1"; + rightx = "a3"; + righty = "a2"; + lefttrigger = "b4"; + righttrigger = "b5"; + dpup = "h0.1"; + dpleft = "h0.8"; + dpdown = "h0.4"; + dpright = "h0.2"; + }; + }; + services = { openssh = { enable = true; |