paul- wrote:
> The extension is right, I used to push all of my changes to The main
> branch.....I should update the info file.
>
> 3.0.1 is the latest version.
>
> Start with debUg output and then turn your encoder. Post the output.
Here is my output:
Code:
--------------------
sbpd -v e,27,17,KEY:KEY_VOLUMEUP-KEY_VOLUMEDOWN,5 b,22,KEY:KEY_
POWER,2
1611054355.5329 6 sbpd.c,316: Options parsing: Set verbose mode
1611054355.5331 6 sbpd.c,505: Using builtin button configuration
1611054355.5332 6 control.c,108: Adding Command PLAY: Fragment ["pause"]
1611054355.5332 6 control.c,108: Adding Command VOL+: Fragment
["button","volup"]
1611054355.5333 6 control.c,108: Adding Command VOL-: Fragment
["button","voldown"]
1611054355.5333 6 control.c,108: Adding Command PREV: Fragment
["button","rew"]
1611054355.5334 6 control.c,108: Adding Command NEXT: Fragment
["button","fwd"]
1611054355.5334 6 control.c,108: Adding Command POWR: Fragment
["button","power"]
1611054355.5335 6 GPIO.c,312: Initializing GPIO
1611054355.5390 6 control.c,411: Rotary encoder defined: Pin 27, 17, Mode:
Detent, Type: Keyboard, Pos: KEY_VOLUMEUP, Neg: KEY_VOLUMEDOWN
1611054355.5391 6 control.c,195: Key KEY_POWER:116
1611054355.5401 6 control.c,262: Button defined: Pin 22, BCM Resistor: up,
Short Type: Keyboard, Short Fragment: KEY_POWER , Long Type: unused, Long
Fragment: (null), Long Press Time: 3000
1611054355.5404 6 discovery.c,385: MAC address found: b8:27:eb:d0:91:8b
1611054355.5404 6 sbpd.c,249: Starting Keyboard Device
1611054355.5446 6 servercomm.c,176: Initializing CURL
1611054355.5543 6 sbpd.c,264: Starting main loop polling
1611054355.5550 6 discovery.c,238: Found server 6601A8C0. A new address
1611054355.6560 6 discovery.c,349: discovery packet: port: 9000, name:
pCRoom, uuid: 1f9a2dd5-5036-4348-a159-0e696a099f13
1611054355.6561 6 discovery.c,130: Squeezebox control port found: 9000
1611054355.6562 6 discovery.c,149: Server address found: 192.168.1.102
1611054368.9730 6 control.c,466: Encoder on GPIO 27, 17 - value: -5, detents:
-1, change: -1
1611054368.9731 6 control.c,76: Sending key: 114, 1 times
--------------------
I'm using detent value 5 but does not work.
------------------------------------------------------------------------
armaster's Profile: http://forums.slimdevices.com/member.php?userid=71243
View this thread: http://forums.slimdevices.com/showthread.php?t=107001
_______________________________________________
diy mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/diy