Conversation

Just had a thought...the OnePlus 6/6T have a physical switch used for silent/vibrate/ring in Android that is unused on mobile Linux. I want to use it to select between mouse, touchpad, and onscreen keyboard modes. My TouchPad Emulator program allows using the touchscreen as a mouse but I use the volume keys to switch modes. Using this physical switch would be more convenient and now I want to test it. Anyone know if this switch is readable in postmarketOS?

1
1
0
@CalcProgrammer1 Slider should be handled using input framework. Look for /dev/*/event*. evtest utility should tell you more.
1
0
1

@pavel That's what I'm using to read the touchscreen and the volume keys already so I will also use this framework to read the slider. I want to see if this is a better user experience than what I currently have.

https://gitlab.com/CalcProgrammer1/TouchpadEmulator

0
0
1