Skip to content

Commit 71e26ef

Browse files
authored
Merge pull request #313 from imxade/extrakeys/audio
next and previous buttons on extrakeys
2 parents 1030dd9 + 82655e2 commit 71e26ef

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

src/components/Trackpad/ExtraKeys.tsx

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ import {
1414
FaBackward,
1515
FaForward,
1616
} from "react-icons/fa"
17+
import { FaBackwardStep, FaForwardStep } from "react-icons/fa6"
1718
import { MdSpaceBar } from "react-icons/md"
1819

1920
interface ExtraKeysProps {
@@ -39,10 +40,10 @@ export const ExtraKeys: React.FC<ExtraKeysProps> = ({ sendKey }) => {
3940
},
4041
{ icon: <FaVolumeUp />, key: "audiovolup", type: "media", label: "Vol Up" },
4142
{
42-
icon: <FaBackward />,
43-
key: "audioback",
43+
icon: <FaBackwardStep />,
44+
key: "audioprev",
4445
type: "media",
45-
label: "Backward",
46+
label: "Previous",
4647
},
4748
{
4849
icon: isPlaying ? <FaPause /> : <FaPlay />,
@@ -52,10 +53,10 @@ export const ExtraKeys: React.FC<ExtraKeysProps> = ({ sendKey }) => {
5253
label: "Play/Pause",
5354
},
5455
{
55-
icon: <FaForward />,
56-
key: "audioforward",
56+
icon: <FaForwardStep />,
57+
key: "audionext",
5758
type: "media",
58-
label: "Forward",
59+
label: "Next",
5960
},
6061

6162
{ label: "Esc", key: "escape", type: "action" },

0 commit comments

Comments
 (0)