Skip to content

Support F13-F24 keys - #580

Merged
RyeMutt merged 12 commits into
AlchemyViewer:developfrom
Martin-Pitt:feature-input/extended-fkeys
Oct 26, 2026
Merged

RyeMutt merged 12 commits into
AlchemyViewer:developfrom
Martin-Pitt:feature-input/extended-fkeys

Conversation

@Martin-Pitt

Copy link
Copy Markdown
Contributor

Adds F13–F24 as keys the viewer knows, so they can be bound like F1–F12 (for example on macro pads and keyboards that send them).

  • KEY_F13–KEY_F24 key codes and their names in LLKeyboard
  • Mapped from VK_F13–VK_F24 on Windows and SDLK_F13–SDLK_F24 on SDL
  • Treated as function keys in llviewerinput.cpp's range checks
  • English key names in strings.xml

🤖 Generated with Claude Code

Martin-Pitt and others added 12 commits October 14, 2026 23:31
Keys remapped to F13-F24, common for macro keys, could not be bound because the viewer knew only F1-F12. The codes sit contiguously after F12 in unused space.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
SDL also covers macOS, where the system exposes up to F20.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
They do not auto-repeat and can be remap targets, as F1-F12 are.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Preferences looked them up and logged them as missing.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Oct 26, 2026 •

Copy link
Copy Markdown
Contributor

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 57 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Repository UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 4cafa59a-4f58-4f24-875f-eedfecd73854
Commits

Reviewing files that changed from the base of the PR and between dc247a5 and e34da18.

Files selected for processing: 6
  • indra/llcommon/indra_constants.h
  • indra/llwindow/llkeyboard.cpp
  • indra/llwindow/llkeyboardsdl.cpp
  • indra/llwindow/llkeyboardwin32.cpp
  • indra/newview/llviewerinput.cpp
  • indra/newview/skins/default/xui/en/strings.xml
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@Martin-Pitt
Martin-Pitt marked this pull request as ready for review October 26, 2026 14:51
@Martin-Pitt

Copy link
Copy Markdown
Contributor Author

Simple PR all around, can remove injection comments if you want

@Martin-Pitt
Martin-Pitt requested a review from RyeMutt October 26, 2026 14:51
@RyeMutt
RyeMutt merged commit 803af58 into AlchemyViewer:develop Oct 26, 2026
23 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants