当前位置: 首页 > 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.tj-hxxt.cn/news/17965.html

相关文章:

  • 网站托管工作室海口网站关键词优化
  • 网站后台更新文章 前台不显示百度竞价ocpc
  • 浙江公铁建设工程有限公司网站产品怎么进行推广
  • 聊城做网站价位怎么在百度上推广自己的产品
  • 做行业网站赚钱东莞寮步最新通知
  • 建设银行官方网站首页网站模板商城
  • 新网站建设咨询百度营销中心
  • 端午节网站建设百度帐号登录入口
  • 湖北移动网站建设企业网络搭建方案
  • 怎么做网站内部搜索功能微信朋友圈广告投放
  • sem是什么意思?公司seo
  • 网站全面详细创建步骤北京网站
  • 网站源码怎么获取今日油价92汽油
  • 网站推广优化建设百度识图在线网页版
  • 做卖挖掘机的网站广告素材
  • 网站维护后期费用fifa最新世界排名
  • 都匀网站建设收录网
  • 做购物网站哪家公司好百度搜索网址
  • 山东网站策划怎么做做网络推广一般是什么专业
  • 神经网络设计推广排名seo
  • 怎样建立一个营销的公司网站环球网最新消息
  • 万州网站制作沈阳网站关键词优化公司
  • 招聘网站可以做劳务派遣吗自己创建网站
  • 企业管理软件销售对搜索引擎优化的认识
  • 跨境电商是不是坑青岛seo百科
  • 目前市面上做网站的程序杭州旺道企业服务有限公司
  • 微网站对比深圳网络推广案例
  • css 网站模板如何自己做引流推广
  • wordpress 站长主题十大搜索引擎网站
  • 学术网站怎么做百度网站免费优化软件下载