dev builds
themes manual
device status forums
mailing lists
IRC bugs
dev guide

Rockbox mail archive

Subject: X5's joystick filtering

X5's joystick filtering

From: David Bleakley <>
Date: Mon, 5 Mar 2007 15:25:55 -0800 (PST)

Thanks Jens for adding the extra filtering (Debounce). My left joystick button still ranges from 0x2E - 0x40 when held in. The changes occur at about half the speed than it did before and is within the left button range below. I wonder if some devices could break the set boundaries between buttons when held in. This would mean more than a debounce problem. Lets hope not. Thanks again David I checked the code and found: Button Hex Range Decimal Range # of Values left -->0x00-0x41 0-65 -66 select -->0x42-0x61 66-97 -32 right -->0x62-0x7B 98-123 -26 Rec -->0x7C-0x97 124-151 -28 play -->0x98-0xB5 152-181 -30 down -->0xB6-0xd2 182-210 -29 up -->0xd3-0xEF 211-239 -29 ___________________________________________________________ Copy addresses and emails from any email account to Yahoo! Mail - quick, easy and free.
Received on 2007-03-06

Page was last modified "Jan 10 2012" The Rockbox Crew