Skip to content

Commit 7a7a71a

Browse files
committed
minor changes
1 parent d27b303 commit 7a7a71a

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

app/src/main/java/com/github/rostopira/kontroller/BluetoothController.kt

+2-2
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ object BluetoothController: BluetoothHidDevice.Callback(), BluetoothProfile.Serv
2828

2929
Log.i("get", "second")
3030
if (type == BluetoothHidDevice.REPORT_TYPE_FEATURE) {
31-
featureReport.wheelResolutionMultiplier = false
32-
featureReport.acPanResolutionMultiplier = false
31+
featureReport.wheelResolutionMultiplier = true
32+
featureReport.acPanResolutionMultiplier = true
3333
Log.i("bakar","$btHid")
3434

3535
var wasrs=btHid?.replyReport(device, type, FeatureReport.ID, featureReport.bytes)

app/src/main/java/com/github/rostopira/kontroller/SelectDeviceActivity.kt

+2-2
Original file line numberDiff line numberDiff line change
@@ -238,8 +238,8 @@ class SelectDeviceActivity: Activity() {
238238

239239

240240

241-
// val imm = getSystemService(Context.INPUT_METHOD_SERVICE) as InputMethodManager
242-
// imm.toggleSoftInput(InputMethodManager.SHOW_FORCED,0)
241+
val imm = getSystemService(Context.INPUT_METHOD_SERVICE) as InputMethodManager
242+
imm.toggleSoftInput(InputMethodManager.SHOW_FORCED,0)
243243

244244

245245

0 commit comments

Comments
 (0)