• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# JS API Changes of the Multimodal Input Subsystem
2
3The table below lists the APIs changes of the multimodal input subsystem in OpenHarmony 3.1 Release over OpenHarmony 3.0 LTS.
4
5## API Changes
6
7| Module| Class| Method/Attribute/Enumeration/Constant| Change Type|
8|---|---|---|---|
9| ohos.multimodalInput.inputDevice | inputDevice | function getDevice(deviceId: number, callback: AsyncCallback\<InputDeviceData>): void;<br>function getDevice(deviceId: number): Promise\<InputDeviceData>; | Added|
10| ohos.multimodalInput.inputDevice | inputDevice | function getDeviceIds(callback: AsyncCallback<Array\<number>>): void;<br>function getDeviceIds(): Promise<Array\<number>>; | Added|
11| ohos.multimodalInput.inputDevice | InputDeviceData | axisRanges : Array\<AxisRange>; | Added|
12| ohos.multimodalInput.inputDevice | InputDeviceData | sources : Array\<SourceType>; | Added|
13| ohos.multimodalInput.inputDevice | InputDeviceData | name: string; | Added|
14| ohos.multimodalInput.inputDevice | InputDeviceData | id: number; | Added|
15| ohos.multimodalInput.inputDevice | AxisRange | min: number; | Added|
16| ohos.multimodalInput.inputDevice | AxisRange | max : number; | Added|
17| ohos.multimodalInput.inputDevice | AxisRange | axis : AxisType; | Added|
18| ohos.multimodalInput.inputDevice | AxisRange | source: SourceType; | Added|
19