# Ctrl + scroll for zoom not working from keyboard but working from mouse

**URL:** <https://community.keyboard.io/t/ctrl-scroll-for-zoom-not-working-from-keyboard-but-working-from-mouse/1649>\
**Category:** Help and Getting Started\
**Created:** [June 16, 2018, 6:58am UTC](https://community.keyboard.io/t/ctrl-scroll-for-zoom-not-working-from-keyboard-but-working-from-mouse/1649 "2018-06-16T06:58:52Z")\
**Posts on this page:** 1\
**Showing post:** 11

<div class="post-metadata">

**Author:** ![jamadagni](https://yyz1.discourse-cdn.com/flex031/user_avatar/community.keyboard.io/jamadagni/32/2030_2.png) [@jamadagni](https://community.keyboard.io/u/jamadagni)\
**Post date:** [July 29, 2018, 12:49pm UTC](https://community.keyboard.io/t/ctrl-scroll-for-zoom-not-working-from-keyboard-but-working-from-mouse/1649/11 "2018-07-29T12:49:57Z")

</div>

> [@algernon](#):
>
> With the pull request, we send a mouse report too, and the macro appears to work fine.

Hmm. There still seems to be a problem. The relevant lines of my sketch are [here](https://gist.github.com/jamadagni/afe3848e1e5f95343e8e84fb6c60f4e7#file-shriramana-ino-L215). As mentioned [here](https://community.keyboard.io/t/horizontal-mouse-scroll-doesnt-work/1723/3), Inkscape allows for **Shift + Wheel Up/Dn** to work as wheel left/right, and since the horizontal wheel keys aren’t working right now, I figured on using the substitute…

But I find that on pressing the wheel left macro (which is **Shift + Wheel Up** ) the display actually goes to the left _and up_ and likewise on pressing the wheel right macro (which is **Shift + Wheel Dn** ) the display actually goes to the right _and down_.

It would seem that the mouse report is getting sent _twice_, once with the modifier and once without?

(In the case of Ctrl + wheel, since zooming in/out changes the centre of the picture, I wasn’t earlier able to identify the extra scroll…)

---

_[View the full topic](https://community.keyboard.io/t/ctrl-scroll-for-zoom-not-working-from-keyboard-but-working-from-mouse/1649)._
