Skip to content

Commit

Permalink
Humanize Shift Arrow Keys and Wheel Up/Down
Browse files Browse the repository at this point in the history
  • Loading branch information
Zren committed Apr 30, 2024
1 parent 4539181 commit c4167f8
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions osc_tethys.lua
Original file line number Diff line number Diff line change
Expand Up @@ -483,6 +483,12 @@ function humanBindKey(key)
elseif key == 'DOWN' then return ''
elseif key == 'LEFT' then return ''
elseif key == 'RIGHT' then return ''
elseif key == 'Shift+UP' then return 'Shift ⇧'
elseif key == 'Shift+DOWN' then return 'Shift ⇩'
elseif key == 'Shift+LEFT' then return 'Shift ⇦'
elseif key == 'Shift+RIGHT' then return 'Shift ⇨'
elseif key == 'WHEEL_UP' then return 'Scroll Up'
elseif key == 'WHEEL_DOWN' then return 'Scroll Down'
elseif key == 'SHARP' then return '#'
elseif key == 'BS' then return 'Backspace'
elseif key == '{' then return '\\{'
Expand Down

0 comments on commit c4167f8

Please sign in to comment.