Skip to content

Commit

Permalink
Merge pull request #4021 from pqrs-org/ac_zoom_out
Browse files Browse the repository at this point in the history
Add ac_zoom_out and ac_zoom_in
  • Loading branch information
tekezo authored Nov 21, 2024
2 parents d2c6216 + 071a49f commit c0ff833
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/apps/SettingsWindow/Resources/simple_modifications.json
Original file line number Diff line number Diff line change
Expand Up @@ -2862,6 +2862,16 @@
"label": "ac_bookmarks",
"data": [{ "consumer_key_code": "ac_bookmarks" }]
},
{
"not_to": true,
"label": "ac_zoom_out",
"data": [{ "consumer_key_code": "ac_zoom_out" }]
},
{
"not_to": true,
"label": "ac_zoom_in",
"data": [{ "consumer_key_code": "ac_zoom_in" }]
},
{
"category": "Remote control buttons"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,8 @@ constexpr std::pair<const mapbox::eternal::string, const pqrs::hid::usage::value
{"ac_forward", pqrs::hid::usage::consumer::ac_forward},
{"ac_refresh", pqrs::hid::usage::consumer::ac_refresh},
{"ac_bookmarks", pqrs::hid::usage::consumer::ac_bookmarks},
{"ac_zoom_out", pqrs::hid::usage::value_t(0x22d)},
{"ac_zoom_in", pqrs::hid::usage::value_t(0x22e)},
// Do not include ac_pan since it is used as mouse wheel, not button.

// Aliases
Expand Down

0 comments on commit c0ff833

Please sign in to comment.