Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: GlasgowEmbedded/glasgow
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: d1e7506a0e3f
Choose a base ref
...
head repository: GlasgowEmbedded/glasgow
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 244c699767f2
Choose a head ref
  • 1 commit
  • 1 file changed
  • 1 contributor

Commits on Jul 31, 2019

  1. Copy the full SHA
    244c699 View commit details
Showing with 2 additions and 2 deletions.
  1. +2 −2 software/glasgow/applet/sensor/mouse_ps2/__init__.py
4 changes: 2 additions & 2 deletions software/glasgow/applet/sensor/mouse_ps2/__init__.py
Original file line number Diff line number Diff line change
@@ -321,7 +321,7 @@ async def initialize():
uinput.BTN_5,
uinput.REL_X,
uinput.REL_Y,
uinput.REL_Z,
uinput.REL_WHEEL,
])

async for report in mouse_iface.stream_reports(ident):
@@ -332,5 +332,5 @@ async def initialize():
device.emit(uinput.BTN_5, report.button_5, syn=False)
device.emit(uinput.REL_X, report.offset_x * args.invert_x, syn=False)
device.emit(uinput.REL_Y, report.offset_y * args.invert_y, syn=False)
device.emit(uinput.REL_Z, report.offset_z, syn=False)
device.emit(uinput.REL_WHEEL, -report.offset_z, syn=False)
device.syn()