Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
G
GamingMouse
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Carl Österberg
GamingMouse
Commits
55d971ff
Commit
55d971ff
authored
4 years ago
by
Otto Kalliorinne
Browse files
Options
Downloads
Patches
Plain Diff
Update README.md
parent
1ffa7767
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+12
-13
12 additions, 13 deletions
README.md
with
12 additions
and
13 deletions
README.md
+
12
−
13
View file @
55d971ff
...
@@ -5,41 +5,40 @@ Carl Österberg (grade 4), Otto Kalliorinne (4), Alba Gallego (grade 4)
...
@@ -5,41 +5,40 @@ Carl Österberg (grade 4), Otto Kalliorinne (4), Alba Gallego (grade 4)
### Introduction
### Introduction
We plan to make a gaming mouse using the shell of an old RZ01-0201 gaming mouse.
We plan to make a gaming mouse using the shell of an old RZ01-0201 gaming mouse.
###
Intended f
eatures:
###
F
eatures:
*
movement
*
cursor
movement
(obviously)
*
right and left mouseclick (mouse1/2)
*
right and left mouseclick (mouse1/2)
*
sidebuttons (mouse4/5)
*
sidebuttons (mouse4/5)
*
dpi buttons (2)
*
dpi buttons (2)
*
if time allows:
*
if time allows:
*
scrollwheel with button (mouse3)!!!!
*
scrollwheel with button (mouse3)!!!!
### Components
we intend to use
### Components
:
*
Reuse of old side and dpi buttons (separate board with 5-pin cable to nucleo).
*
Reuse of old side and dpi buttons (separate board with 5-pin cable to nucleo).
*
2 D2F switches.
*
2 D2F switches.
*
Scrollcomponent and scrollwheel button.
*
Custom nucleo board with MCU STM32F401RE
*
Custom nucleo board with MCU STM32F411RETx.
*
PixArt PMW3389 sensor
*
PixArt PMW3389 sensor
*
Shell of RZ01-0201
*
Shell of RZ01-0201
*
The rest of the components used is found in the Kicad project file, together with the PCB cutout and design.
### Software specs
### Software specs
*
Code language = Rust
*
USB mouse driver written in Rust using RTIC
*
Reliable communication
*
*
https://github.com/stm32-rs/stm32f4xx-hal
https://github.com/stm32-rs/stm32f4xx-hal
### Pin connections
### Pin connections
All the connections can be seen in the kicad project files, for
debugg
in
g
, crystal, mouse buttons etc etc.
All the connections can be seen in the kicad project files, for
st-l
in
k
, crystal, mouse buttons etc etc.
The important connections are those that are going to be processed explicitly in the mouse driver code.
The important connections are those that are going to be processed explicitly in the mouse driver code.
##### Buttons
##### Buttons
*
PC6(36) = mouse2
*
PC6(36) = mouse2
*
PC7(37) = mouse1
*
PC7(37) = mouse1
*
PB12(33)
*
PB12(33)
= dpi2
*
PB13(34)
*
PB13(34)
= dpi1
*
PB14(35)
*
PB14(35)
= mb4
*
PB15(36)
*
PB15(36)
= mb5
##### Sensor
##### Sensor
connected using SPI2 on
*
PA15(50) = NCS
*
PA15(50) = NCS
*
PC10(51) = SLCK
*
PC10(51) = SLCK
*
PC11(52) = MISO
*
PC11(52) = MISO
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment