I want to use a USB mouse through a USB to PS/2 converter to interface to a microcontroller. Does the PS/2 protocol support scrolling wheel movement?
Will a USB mouse through a PS/2 converter support mouse wheel scrolling?
339 Views Asked by Ganesh S At
1
There are 1 best solutions below
Related Questions in USB
- How to "Enable mobile data" on a Huawei E3372 4G USB dongle using a bash script in Windows
- onCompletion(mp: MediaPlayer?) is unintentionally called after USB storage is connected
- How to detect a pc from android
- Raspberry Pi sending/receiving data over usb
- Process incoming USB message without sitting in a while loop
- Linux to QNX USB driver convert
- To execute a program from a USB drive
- How do I create a way to communicate between a phone and a computer using a usb in Java
- USB is not recognized
- Transfer SQLite Database via USB-Cable
- Updating Ublox module via commandline with file
- RS422 communication using PySerial (Raspberry PI)
- USB and GPIB devices not recognized with PyVISA using ni-visa and ni-488.2 on Ubuntu 22.04 Linux
- How to write a Android native linux app to communicate via usb to PC?
- transfer data and/or receive data via a USB cable by connecting Android applications with Windows applications
Related Questions in MICROCONTROLLER
- ESP32 Consequtive Interrupt WDT Timeout Exception
- STM32G030 refuses write to flash
- can't configurate VL53l0x api
- STM32L011K4Tx Compare toggle not working as expected
- How to get PC of first instruction of inline asm block (C)?
- ESP-32 (FreeRTOS): The serial monitor prints unknown symbols (???) instead of a string
- SWO on a Blackpill board
- I2C LCD1602 interfacing with PIC16F877A
- J-Link script to flash program in S32K144 (allow security)
- Design of a function that modifies from 1-4 values of a register
- Is it possible to change values of the zephyr-rtos configuration file prj.conf using CMake arguments?
- Memory Aliasing to a specific Flash Sector
- How to make a proper delay in a microcontroller?
- USART to serial monitor/pc STM32
- How to use a c++ class as wrapper for timer-interrupts on RP2040 (RPPico)
Related Questions in PS2
- PS/2 keyboard doesn't respond properly to "Get scancode set" command
- Bin2c files won't generate on make
- Differences between spherical mapping techniques
- My Arduino Uno PS/2 to USB works only in serial monitor not in other Windows apps
- Why does PS2 reset not work when VMX is enabled?
- Reading PS/2 Keyboard Scan Codes on STM32 L476RG
- CS50 ps2. The command check50 returns error message "non numeric code"
- Sending enable interrupts (0xF4) command to ps2 keyboard results in system crash. OSDEV
- Will a USB mouse through a PS/2 converter support mouse wheel scrolling?
- How to Change Secondary/Multi-line (>>) Prompt for PowerShell
- What's the purpose of parity bit in PS/2 keyboard interface?
- Code to test ps/2 on verilog
- Setting up a computer to act as an HID device connected to another computer via ps/2,usb or another wired connection
- PS2 keyboard delay error / VHDL
- Interfacing PS2 joystick with atmega640 with SPI
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
The PS/2 interface does support wheel scrolling. If the mouse itself supports PS/2 interface (most USB mice still do, for use with passive adapters), and has a scroll wheel, then yes, scroll wheel support should be present through the converter. Mouse wheel data in the PS/2 protocol is sent in the 4th byte of data.
Byte 1: Flags and Button States
Byte 2: X Movement
Byte 3: Y Movement
Byte 4: Z Movement (Scroll Wheel)
Even then it only occupies the bottom 4 bits of the 4th byte (+7 to -7). The top 4 bits contain data for buttons 4 and 5 for Microsoft Intellimouse compatible devices.
More information on the PS/2 mouse protocol can be found Here.