当前位置: 首页 > news >正文

做网站分什么软件企业网站用什么开发好-商业推广

做网站分什么软件,企业网站用什么开发好-商业推广,天津搜索引擎推广,网络销售是做什么的屏规格书: dts配置: 首先要确保CONFIG_I2C_HID宏打开,i2c-hid-core.c 文件才能编译进去代码。规格书vendor product 分别为0x2d1f 和0x0165 来区别,不至于影响到整体的hid其他设备。 i2c-hid-dev10 { compatible "hid-…

屏规格书:
在这里插入图片描述

dts配置:
首先要确保CONFIG_I2C_HID宏打开,i2c-hid-core.c 文件才能编译进去代码。规格书vendor product 分别为0x2d1f 和0x0165 来区别,不至于影响到整体的hid其他设备。

   +  i2c-hid-dev@10 {+  compatible = "hid-over-i2c";+	reg = <0x10>;+	hid-descr-addr = <0x0001>;+	interrupt-parent = <&gpio0>;+	interrupts = <6 0x0>;+	post-power-on-delay-ms = <70>;+	vdd = "vdd-supply";+	status ="okay";+ };

hid-input.c 文件里面根据实际情况,是否实际需要x,y坐标是否需要反,或x , 或y 反,或x,y都反。
hidinput_configure_usage函数。这里面x,y需要对调,而且x,还需要最大变最小,最小变最大逻辑 20320-value

static void hidinput_configure_usage(struct hid_input *hidinput, struct hid_field *field,struct hid_usage *usage)
{+if((device->vendor==0x2d1f)&&(device->product==0x0123))+{+       if(b==20320)+       {+       	b=15240;+       }+      else if(b==15240){+          b= 20320;+       }+}if (field->application == HID_GD_GAMEPAD || field->application == HID_GD_JOYSTICK)input_set_abs_params(input, usage->code, a, b, (b - a) >> 8, (b - a) >> 4);else	input_set_abs_params(input, usage->code, a, b, 0, 0);(!test_bit(usage->code, input->key)) == value)input_event(input, EV_MSC, MSC_SCAN, usage->hid);input_event(input, usage->type, usage->code, value);//input_event(input, usage->type, usage->code, value);+ if((hid->vendor==0x2d1f)&&(hid->product==0x0123))+ {+	    if(usage->code == ABS_X)+	     input_event(input, usage->type, ABS_Y, value);+      else if(usage->code == ABS_Y)+	     input_event(input, usage->type, ABS_X, 20320-value);+	    else+	       input_event(input, usage->type, usage->code, value);+  }+  else+ {+     input_event(input, usage->type, usage->code, value);+ }if ((field->flags & HID_MAIN_ITEM_RELATIVE) &&usage->type == EV_KEY && value) {}

frameworks/base/data/keyboards/Vendor_2d1f_Product_0165.idc 添加此文件

# Copyright (C) 2010 The Android Open Source Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#      http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.#
# Emulator keyboard configuration file #1.
#
#touch.orientationAware touch x ytouch.deviceType = touchScreen
touch.orientationAware = 1keyboard.layout = qwerty
keyboard.characterMap = qwerty
keyboard.orientationAware = 1
keyboard.builtIn = 1cursor.mode = navigation
cursor.orientationAware = 1

屏规格书

http://www.yayakq.cn/news/156730/

相关文章:

  • 个人网站的设计与实现的主要内容深圳建站工作室
  • 网站集成微信登录wordpress 搭建教程
  • 手机网站开发调用照片浙江网站制作公司
  • 银川市住房和城乡建设网站百度免费发布信息网站
  • 广州手机网站定制如何软件开发培训机构有哪些
  • 考试源码网站wordpress购物网站如何备案
  • 网站设计流程及制作流程wordpress 超酷播放器
  • 英文网站设计昆明网页设计培训学校
  • 建设网站的流程南京网站运营公司
  • 重庆官方网站有哪些女士服装定制网站
  • 大兴建设网站公司网站404 原因
  • cnc强力磁盘 东莞网站建设成都十大著名景点
  • 最新站长seo网站外链发布平台wordpress小程序主题
  • 泰州网站建设方案红塔区住房和城乡建设局网站
  • 中文网站建设模板下载娱乐网站建设怎么样
  • 2016用什么网站程序做流量网站通栏广告设计
  • 城市建设网站aqqwordpress 二级链接
  • 道士召唤10个月灵的传奇手游滁州网站seo
  • 怎么区分用vs和dw做的网站品牌seo培训
  • 营销型网站怎么收费wordpress微信打赏功能添加
  • 手机网站出现广告济南工程网站建设
  • 我常用的网站有哪些类型有哪些类型有哪些杭州工业设计公司
  • 四川微信网站建设推ui设计软件官网
  • 制作网站多少钱一个谷德设计网下载
  • 汝阳县住房与城乡建设局建局网站网站怎样才能在百度被搜索到
  • 新网站怎么做才能可以在百度上搜索到小红书流量推广
  • 在线动画手机网站模板下载安装北京视频直播网站建设
  • 网站建设优化兼职网站开发php js
  • 婚恋网站哪家做的最好江门建站软件
  • 阿里云怎样做商城式网站木门行业做网站有什么好处