Repository navigation
Conversation
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
개요
마우스 휠 위·아래와 틸트 좌·우를 일반 키처럼 매핑할 수 있게 하고, 노브 요소를 휠에 연결해 휠 방향대로 돌아가게 함. 휠은 떼는 입력이 없어서 한 칸을 짧은 키 입력 한 번으로 처리하고, 카운터와 KPS는 굴린 칸 수와 같게 맞춤
관련 이슈: #197
변경 내용
휠 입력
daemon/wheel.rs한 곳으로 모음. 플랫폼 코드는 휠 원본 값만 넘기고 칸 계산, 키 입력 생성, 노브용 축 값은 공용 엔진에서 처리. 기존HookMessage,HidAxisMessage를 그대로 써서 IPC 계약 변경 없음노브
WHEEL:VERTICAL,WHEEL:HORIZONTAL로 보냄. 24칸이 한 바퀴라 sensitivity 1이면 24칸에 360°설정 화면·오버레이
플러그인 API
onRawInput문서에 휠 라벨과 Down/Up 규칙, 노브 문서에 휠 축 식별자 추가알려진 동작
검증
-D warnings, rustfmt 통과리뷰 포인트
Windows 쪽 Rust 코드는 이 PR CI에서 처음 컴파일됨. CI 통과 후 Windows 실기 확인 부탁