Commit Graph

6 Commits

Author SHA1 Message Date
LemonNexus f403f3edfe fix: screenshot hotkeys - use Qt shortcuts + optional global hotkeys
- Rewrote screenshot_hotkey.py to use Qt QShortcut as primary method
- Qt shortcuts work reliably when app is focused (no admin needed)
- Added optional 'keyboard' library for global hotkeys (requires admin)
- Updated main_window.py to pass parent window to hotkey manager
- Shows clear status: global vs Qt-only mode
- Users can now press F12 etc when app is focused
2026-02-11 12:55:24 +00:00
LemonNexus 9c6ad18c2b chore: add pynput to requirements for screenshot hotkeys 2026-02-11 12:32:14 +00:00
LemonNexus 522ee8e719 feat: add AI Computer Vision with local GPU support
- modules/game_vision_ai.py - Main AI vision engine with OCR and icon detection
- modules/icon_matcher.py - Icon similarity matching using perceptual hashing
- ui/vision_settings_dialog.py - GPU/OCR settings panel
- ui/vision_calibration_dialog.py - Calibration wizard
- ui/vision_test_dialog.py - Test and debug dialog
- vision_example.py - Usage examples
- Update requirements.txt with paddlepaddle, opencv, torch dependencies

Features:
- GPU auto-detection (CUDA, MPS, DirectML)
- PaddleOCR for text extraction (English/Swedish)
- Icon detection from loot windows
- Icon matching against database
- Real-time screenshot processing
2026-02-11 11:29:10 +00:00
LemonNexus 0b4d79b98f feat(gui): Sprint 2 Phase 1 - PyQt6 GUI Foundation
Add complete PyQt6 GUI implementation using agent swarm:

- ui/main_window.py: Main application window with project management,
  session controls, log output, and dark theme styling

- ui/hud_overlay.py: Transparent, always-on-top HUD overlay for
  real-time stats during gameplay. Features:
  * Frameless, click-through window
  * Draggable with Ctrl key
  * Session timer, loot tracking, damage stats
  * Position persistence
  * Decimal precision for PED values

- ui/loadout_manager.py: Gear configuration dialog with:
  * Weapon/Armor/Healing tool setup
  * DPP (Damage Per Pec) calculator
  * Cost per hour estimation
  * Break-even calculator
  * Save/Load loadouts (JSON persistence)
  * Mock data for common EU gear

- ui/__init__.py: Module exports
- requirements.txt: Add PyQt6 dependency

All components follow Never-Break Rules:
 Decimal precision for currency
 Dark theme styling
 Integration hooks for existing core modules
 Mock test modes included

Developed with 3-agent parallel swarm (3 minutes vs 6 hours serial).
2026-02-08 20:30:38 +00:00
LemonNexus 39d1b0d48d chore(deps): add python-dotenv to requirements
Required for loading .env configuration file.
2026-02-08 18:01:54 +00:00
LemonNexus 24a450de5e test(core): add pytest suite for Data Capture Engine
- Create comprehensive test suite for core modules
- Test DatabaseManager initialization and queries
- Test ProjectManager Data Principle implementation
- Test LogWatcher regex patterns (global, hof, loot, skill, decay)
- Test Observer Pattern subscribe/unsubscribe
- Test async polling functionality
- Test mock log generation
- Add integration test: Log -> Project -> Database flow

Tests validate Never-Break Rules #4 (Decimal precision) and #5 (testing).
2026-02-08 16:56:56 +00:00