# TODO: add iCDK-specific configs below
# (and/or commit to upstream default config)
[plugins]
accelerometeradaptor = accelerometeradaptor
alsadaptor = alsadaptor-ascii
proximityadaptor = proximityadaptor-ascii
magnetometeradaptor = magnetometeradaptor-ascii

[gyroscope]
path = /sys/devices/platform/l3g4200dh/angular_rate
path_datarate = /sys/devices/platform/l3g4200dh/odr
dataranges = "-250000=>250000"
intervals = "1.25,2.5,5,10"
default_interval = "10"

[accelerometer]
dataranges = "-32767=>32767"
intervals = "0,10=>1000"
transformation_matrix = "-1,0,0,0,-1,0,0,0,-1"

[als]
mode = 1
seek = 1
path = /sys/bus/i2c/drivers/apds9802als/5-0029/apds9802als/lux_output
range_file_path = /sys/bus/i2c/drivers/apds9802als/5-0029/apds9802als/sensing_range
intervals = "50=>2000"
default_interval = 1000

[keyboardslider]
input_match = gpio-keys
dataranges = "0=>2"
intervals = 0

[proximity]
driver_type = 3
mode = 1
seek = 1
path = /sys/bus/i2c/drivers/apds9802ps/5-0055/apds9802ps/proximity
dataranges = "0=>4096"

[magnetometer]
seek = 1
path = /sys/bus/i2c/drivers/ak8975/5-000f/ak8975/curr_pos
path_power_state = /sys/bus/i2c/drivers/ak8975/5-000f/ak8975/power_state
path_sens_adjust = /sys/bus/i2c/drivers/ak8975/5-000f/ak8975/sens_adjust
dataranges = "-4096=>4096"
intervals = "25=>1000"
default_interval = 1000
scale_coefficient = 300
calibration_rate = 100
calibration_timeout = 60000

[tap]
device = accelerometer
dataranges = "0=>2"
intervals = 0

[orientation]
threshold_landscape = 25
threshold_portrait = 20
overflow_min = 800
overflow_max = 1250
discard_time = 750000

[context]
orientation_poll_interval = 0
orientation_offset = 0
stability_timeout = 60
