Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions EXAMPLES.md
Original file line number Diff line number Diff line change
Expand Up @@ -439,9 +439,6 @@ To configure that feeling, it exposes two configuration knobs:
- Sensitivity: How hard you have to press to trigger a click
- Intensity: How strong the feedback vibration is

Note: Both of these settings are not stored persistently, they are reset when
the touchpad resets (e.g. on system reboot).

```
# Disable haptic feedback
> framework_tool --haptic-intensity 0
Expand Down
1 change: 1 addition & 0 deletions framework_lib/src/touchpad.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ const HAPTIC_INTENSITY_REPORT_ID: u8 = 0x09;
pub const HAPTIC_INTENSITY_LEVELS: [u8; 5] = [0, 25, 50, 75, 100];

// Button press threshold / click force (HID Digitizer page 0x0D, Usage 0xB0).
// Added in HUTRR11, included in HUT 1.4
// 2-bit field, firmware accepts 1=Low, 2=Medium, 3=High.
const CLICK_FORCE_REPORT_ID: u8 = 0x08;

Expand Down
Loading