Robert Fisk
312c708409
Fix for mechanical keyboards sending > 8 byte packets
7 years ago
Robert Fisk
91126cef4f
Fixed eclipse project settings & debug configurations
...
Conflicts:
Downstream/.cproject
Downstream/Downstream Debug.launch
Downstream/Downstream Release.launch
Upstream/.settings/language.settings.xml
Upstream/Upstream Debug.launch
Upstream/Upstream Release.launch
7 years ago
Robert Fisk
637444a6bc
Allow longer constant-speed motion before blocking
7 years ago
Robert Fisk
b280f18c8d
Tweak bot detect parameter
7 years ago
Robert Fisk
8600b9ee09
Jump detection now measures entire length of movement, not just the
...
proportion above the jump velocity threshold.
Also tweaked constant acceleration parameters.
7 years ago
Robert Fisk
2ff93c15af
Constant acceleration detector now blocks mouse movement well before
...
causing a full lockout
7 years ago
Robert Fisk
3c072d2e54
Maintain constant acceleration counter for several seconds, on the
...
assumption that a mouse bot would wait until the human stops using the
mouse before starting to do anything bad.
7 years ago
Robert Fisk
7037aa6052
Better support for multi-interface HID: Logitech unifying receivers
...
- Select mouse interface first
- Correctly specify active interface when retrieving HID descriptors
7 years ago
Robert Fisk
688f2e673c
Support HID mouse reports with an ID header (Lenovo)
7 years ago
Robert Fisk
a2edc90302
Restore jiggle detection.
...
This is no longer taken care of by the constant acceleration detector,
so we need to do it explicitly
7 years ago
Robert Fisk
9d88557c83
Reset mouse velocity history on each movement
7 years ago
Robert Fisk
4cf08bb1b4
Implement random-movement credit in the constant acceleration detector.
...
This makes it more forgiving of constant acceleration mid-movement, if
the beginning of the movement looks random. Handy for mice that for some
reason generate bot-like constant velocities.
7 years ago
Robert Fisk
e46f9db88b
Tweak keyboard lockout threshold
7 years ago
Robert Fisk
0135de0a63
Mouse botdetect config comments
7 years ago
Robert Fisk
3866e50b47
Remove jiggle detector as the constant-acceleration detector already
...
does the same job.
7 years ago
Robert Fisk
8b412903a3
Implemented jiggle detection
7 years ago
Robert Fisk
67d5c52a3b
Tweaks to mouse jump detection
7 years ago
Robert Fisk
0cf0d7c796
Mouse jump detection implmented
7 years ago
Robert Fisk
35a523f768
Implement mouse acceleration pulse timing. Doesn't work on realistic
...
inputs.
Conflicts:
Upstream/.settings/language.settings.xml
7 years ago
Robert Fisk
24fd9b0036
Extend 'fast' key histogram out to 300ms
7 years ago
Robert Fisk
b2cea5dad4
Added error band comparison to velocity matching
7 years ago
Robert Fisk
e362c953be
Fix project build settings
7 years ago
Robert Fisk
bdcb77cabb
Initial implementation of mouse bot detection
...
Conflicts:
Downstream/.cproject
Upstream/.cproject
Upstream/.settings/language.settings.xml
7 years ago
Robert Fisk
e33e6eafdc
Re-implement keyboard bot detection based on timing histograms, rather
...
than maximum typing speed.
7 years ago
Robert Fisk
4f5e6fd3f8
Tweaks to HID keyboard bot detection
7 years ago
Robert Fisk
bd40794d50
HID BotDetect functionality debugged and working:
...
- Implement advanced LED flash support
- Tweak HAL_SPI_TransmitReceive to tolerate a longer SysTick interrupt
- Tune KEYBOARD_BOTDETECT parameters
- L-shift and R-shift are now high-speed alphanumeric keys
7 years ago
Robert Fisk
7a70c5826b
HID keyboard bot detection mostly implemented. Needs more advanced LED
...
flash code, and testing.
7 years ago
Robert Fisk
ed130705c1
Enable all config options by default
7 years ago
Robert Fisk
19f91b391d
Build options complete & tested:
...
- Implement SCSI WP flag in mode parameter header
- Refactor #ifdef names
- #ifdef out more HID code
7 years ago
Robert Fisk
f0a9ab6966
Tweak write protect SCSI sense code
7 years ago
Robert Fisk
d629327ae4
Implemented optional build for mass storage, keyboard, and mouse
...
(Upstream). Also implemented read-only mass storage mode.
Todo:
- Test. Everything!!!
- Report write protect flag in SCSI "mode parameter header" (whatever
that is)
7 years ago
Robert Fisk
81f7efbca7
Implemented read-only option (Downstream only)
7 years ago
Robert Fisk
5c9dde896c
Implemented optional build for mass storage, keyboard, and mouse
...
features.
Conflicts:
Upstream/.settings/language.settings.xml
7 years ago
robertfisk
adc3cd6f9f
Update README.md
8 years ago
Robert Fisk
a46fea6625
Merge branch 'USG_0.9' of https://github.com/robertfisk/usg into USG_0.9
8 years ago
Robert Fisk
2949e7595f
Tweak DFU doc image
8 years ago
robertfisk
88e8a7b228
Update README.md
8 years ago
Robert Fisk
040bf9eee0
Fixed devices-shrinking-by-one-block problem.
...
So it turns out the SCSI ReadCapacity10 command does not return the
device capacity. It returns the address of the last block, which is
(capacity - 1).
Also fixed Upstream's end-of-device sanity check.
8 years ago
Robert Fisk
3de7a190f8
Change Upstream release build optimisation to -O3
8 years ago
Robert Fisk
f51ae234c6
Fix for the previous fix. This time for sure.
...
Previously we wrote 4 x 64 byte transactions to the downstream device.
This is fast, but very occasionally the USB host silicon would bug out.
Reverting to single 64 byte write transactions increases reliability at
the expense of some write speed.
8 years ago
Robert Fisk
6697c9fea4
Another fix for occasional mass storage write freakouts.
...
USB host controller sometimes incorrectly reports number of TX packets
in queue.
8 years ago
Robert Fisk
835c54f480
Fix for occasional freakouts on mass storage writes.
...
Upstream's edge-detect interrupt that starts SPI transmission was not
firing. Sometimes. On some boards only. The cause was Downstream not
allowing enough time between edges for Upstream to catch the signal.
Also misc code tidyups.
8 years ago
Robert Fisk
61df3e14e6
Meaningless update to project settings file
8 years ago
robertfisk
6ada7c9ced
Update README.md
8 years ago
robertfisk
a376951d4d
Update README.md
8 years ago
Robert Fisk
9d6ca952ce
Doc images for JTAG and DFU pages
8 years ago
robertfisk
62956f85db
Update README.md
8 years ago
Robert Fisk
2dd8c2f51f
More documentation images
8 years ago
Robert Fisk
951b3b3339
Flush HID endpoint on init.
...
Fixes delayed HID events after failed wakeup attempt.
8 years ago
Robert Fisk
41c2e05ded
Fix yesterday's HID disconnect/reconnect fix
8 years ago