Skip to content

Commit

Permalink
Update style.css
Browse files Browse the repository at this point in the history
  • Loading branch information
UnknownWitcher authored Aug 15, 2024
1 parent 806f1e9 commit b5d98a9
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions GamePadViewer/DS4/Purple-Green/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,31 @@
.ds4 .button {
background: url(assets/face.svg) !important;
}
/* Positions are ignored by GPV not sure why but they had to be added */
.ds4 .trigger.right {
background-position-x: 99px 1;
}
.ds4 .face.up {
background-position: -37px 0;
}
.ds4 .face.down {
background-position: 0px 0;
}
.ds4 .face.left {
background-position: 104px 0;
}
.ds4 .face.right {
background-position: 52px 0;
}
.ds4 .button.a {
background-position: 0px 0;
}
.ds4 .button.b {
background-position: -57px 0;
}
.ds4 .button.x {
background-position: -113px 0;
}
.ds4 .button.y {
background-position: 55px 0;
}

0 comments on commit b5d98a9

Please sign in to comment.