Skip to content

CTRL+arrow pan, F5 reload GDS, README markdown, modern (VNC) X server startup#35

Open
nmz787-intel wants to merge 7 commits into
trilomix:masterfrom
nmz787-intel:main
Open

CTRL+arrow pan, F5 reload GDS, README markdown, modern (VNC) X server startup#35
nmz787-intel wants to merge 7 commits into
trilomix:masterfrom
nmz787-intel:main

Conversation

@nmz787-intel

@nmz787-intel nmz787-intel commented Feb 20, 2026

Copy link
Copy Markdown

Pull Request: Keyboard Navigation Enhancements and Documentation Updates

Summary

This PR adds keyboard-based pan controls, F5 file reload functionality, improves X11/GLX compatibility, increases max layer support, and updates documentation with Markdown tables+sections for better rendering.

Changes

Features

  • Keyboard Pan Control: Hold Ctrl + arrow keys to pan the view (look around)
  • Alternative Movement Keys: Hold Alt + up/down arrows as alternative to Q/Z for vertical movement
  • F5 Reload: Press F5 to reload GDS file from disk without restarting the application

Improvements

  • GLX Visual Selection: Fixed X server compatibility issues with GLX visual selection
  • Increased Max Layers: Expanded maximum layer support for layerstacks with larger layernum
  • Documentation: Converted keymap section to Markdown tables, and used section headers, for better GitHub rendering

Files Changed

  • README.md - Reorganized with proper markdown headers (h2/h3/h4) and converted keymap to tables
  • gdsoglviewer/gdsparse_ogl.cpp - Added keyboard pan (Ctrl), alt movement (Alt), and F5 reload handlers
  • gdsoglviewer/gdsparse_ogl.h - F5 update handler declaration
  • gdsoglviewer/win_keymap.cpp - Updated keyboard mapping UI
  • libgdsto3d/gdsparse.h - Increased MAX_LAYERS constant as I use very-large layernums for debug in my designs
  • linux/main.cpp - getting glXChooseVisual was failing on my VNC due to old API not present
  • linux/GDS3D - Rebuilt binary with new features

Commits Included

  1. d8c6614 - README: section header markdown
  2. 39d9070 - README: add CTRL+arrow pan and F5 reload keyboard info with tables
  3. 16652f6 - new linux build
  4. b7d5466 - adding ability to pan view with keyboard (CTRL) and move view up/down (ALT)
  5. 678aad9 - Fix GLX visual selection for X server compatibility
  6. 017f270 - enabled F5 keypress to reload GDS from filesystem
  7. 9304b6d - had to increase max layers

…tions

Replace glXChooseVisual (GLX 1.0) with glXChooseFBConfig (GLX 1.3+), which
is better supported on modern X servers and Mesa drivers. Fall back to
glXChooseVisual if glXChooseFBConfig finds no matching configs.
…ng up/down/left/right. Holding ALT with up/down keys now moves view up or down (in addition to Q and Z)
@nmz787-intel nmz787-intel changed the title Keyboard Navigation Enhancements, Documentation Updates, modern X server startup CTRL+arrow pan, F5 reload GDS, README markdown, modern (VNC) X server startup Feb 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant