TWI766518B - Display apparatus and method of synchronizing mouse sensitivities - Google Patents
Display apparatus and method of synchronizing mouse sensitivities Download PDFInfo
- Publication number
- TWI766518B TWI766518B TW109147002A TW109147002A TWI766518B TW I766518 B TWI766518 B TW I766518B TW 109147002 A TW109147002 A TW 109147002A TW 109147002 A TW109147002 A TW 109147002A TW I766518 B TWI766518 B TW I766518B
- Authority
- TW
- Taiwan
- Prior art keywords
- usb
- mouse
- sensitivity
- host
- display
- Prior art date
Links
Images
Landscapes
- User Interface Of Digital Computer (AREA)
- Controls And Circuits For Display Device (AREA)
- Position Input By Displaying (AREA)
Abstract
Description
本發明係有關於顯示裝置,特別是有關於一種顯示裝置及其滑鼠靈敏度同步方法。The present invention relates to a display device, and more particularly, to a display device and a mouse sensitivity synchronization method thereof.
現今的顯示裝置之功能愈來愈多樣化,且許多顯示裝置已配備USB集線器或是提供USB-PD(USB電力傳輸)之功能。使用者可將USB周邊裝置(例如滑鼠、鍵盤等等)連接至顯示裝置上的USB集線器,並且主機可透過USB協定而辨識上述USB周邊裝置,故使用者可透過USB滑鼠以控制主機畫面上的游標。然而,因為目前市面上的各廠商的滑鼠型號眾多,其靈敏度也不同。當使用者更換為不同滑鼠並在作業系統操作系統游標時,容易造成新滑鼠之靈敏度與原本使用者所習慣的舊滑鼠之靈敏度不同,且使用者需要花費時間調整新滑鼠之設定,但不一定能跟舊滑鼠之設定一致,造成使用者體驗降低。The functions of today's display devices are becoming more and more diverse, and many display devices are equipped with USB hubs or provide USB-PD (USB Power Delivery) functions. The user can connect the USB peripheral devices (such as mouse, keyboard, etc.) to the USB hub on the display device, and the host can recognize the above-mentioned USB peripheral devices through the USB protocol, so the user can control the host screen through the USB mouse on the cursor. However, because there are many models of mice from various manufacturers on the market, their sensitivity is also different. When the user changes to a different mouse and operates the cursor in the operating system, the sensitivity of the new mouse is likely to be different from the sensitivity of the old mouse that the original user is accustomed to, and the user needs to spend time adjusting the settings of the new mouse , but may not be consistent with the old mouse settings, resulting in a reduced user experience.
有鑑於此,本發明係提供一種顯示裝置及滑鼠靈敏度同步方法以解決上述問題。In view of this, the present invention provides a display device and a mouse sensitivity synchronization method to solve the above problems.
本發明係提供一種顯示裝置,電性連接至一主機,且主機係運行一作業系統。顯示裝置包括:一顯示模組、一顯示控制器、一第一通用序列匯流排(USB)介面及一USB集線器。顯示控制器用以控制該顯示模組之顯示畫面。第一USB介面係電性連接至該顯示控制器,且一第一USB滑鼠係連接至第一USB介面,其中第一USB滑鼠使用第一靈敏度。顯示控制器係將第一USB滑鼠所使用的第一靈敏度儲存為第一靈敏度設定。當一第二USB滑鼠取代該第一USB滑鼠以連接至USB介面或第二USB滑鼠連接至顯示裝置之第二USB介面,顯示控制器係調整第二USB滑鼠回報至顯示控制器之第一人類介面裝置(HID)描述符以產生第二HID描述符,其中第二USB滑鼠所使用的第二靈敏度與第一USB滑鼠所使用的第一靈敏度不同,且第二HID描述符係符合第一靈敏度設定。該顯示控制器係將第二HID描述符透過USB集線器回報至主機以使主機依據第二HID描述符控制作業系統之游標。The present invention provides a display device which is electrically connected to a host, and the host runs an operating system. The display device includes: a display module, a display controller, a first universal serial bus (USB) interface and a USB hub. The display controller is used for controlling the display screen of the display module. The first USB interface is electrically connected to the display controller, and a first USB mouse is connected to the first USB interface, wherein the first USB mouse uses the first sensitivity. The display controller stores the first sensitivity used by the first USB mouse as the first sensitivity setting. When a second USB mouse replaces the first USB mouse and is connected to the USB interface or the second USB mouse is connected to the second USB interface of the display device, the display controller adjusts the second USB mouse to report to the display controller the first human interface device (HID) descriptor to generate the second HID descriptor, wherein the second sensitivity used by the second USB mouse is different from the first sensitivity used by the first USB mouse, and the second HID descriptor The symbology conforms to the first sensitivity setting. The display controller reports the second HID descriptor to the host through the USB hub, so that the host controls the cursor of the operating system according to the second HID descriptor.
在一些實施例中,當該顯示裝置及該第一USB滑鼠為同一製造廠商所生產,該顯示控制器從該第一USB滑鼠回報的USB信號中得知該第一USB滑鼠的第一裝置辨識符及其對應的該第一靈敏度,並將該第一靈敏度自動儲存為該第一靈敏度設定。In some embodiments, when the display device and the first USB mouse are produced by the same manufacturer, the display controller learns the first USB signal of the first USB mouse from the USB signal reported by the first USB mouse. A device identifier and its corresponding first sensitivity, and the first sensitivity is automatically stored as the first sensitivity setting.
在另一些實施例中,當該顯示裝置及該第一USB滑鼠為不同製造廠商所生產或該顯示控制器無法從該第一USB滑鼠所回報的USB信號得知該第一USB滑鼠之第一裝置辨識符對應的該第一靈敏度,該顯示控制器係在該顯示模組上顯示一螢幕上顯示介面以供設定該第一USB滑鼠之該第一靈敏度並儲存為該第一靈敏度設定。In other embodiments, when the display device and the first USB mouse are produced by different manufacturers or the display controller cannot know the first USB mouse from the USB signal reported by the first USB mouse the first sensitivity corresponding to the first device identifier, the display controller displays an on-screen display interface on the display module for setting the first sensitivity of the first USB mouse and storing it as the first sensitivity Sensitivity setting.
在一些實施例中,該顯示控制器係計算該第一靈敏度及該第二靈敏度之一比值,並將該第二USB滑鼠回報至該顯示控制器之該第一HID描述符中的X軸位移量及Y軸位移量乘以該比值以得到該第二HID描述符。In some embodiments, the display controller calculates a ratio between the first sensitivity and the second sensitivity, and reports the second USB mouse to the X-axis in the first HID descriptor of the display controller The displacement amount and the Y-axis displacement amount are multiplied by the ratio to obtain the second HID descriptor.
在一些實施例中,該顯示控制器係將該第二HID描述符編碼為USB信號並透過該USB集線器將該USB信號傳送至該主機,且該主機係解碼該USB信號以得到該第二HID描述符,並依據該第二HID描述符控制該作業系統之該游標。In some embodiments, the display controller encodes the second HID descriptor as a USB signal and transmits the USB signal to the host through the USB hub, and the host decodes the USB signal to obtain the second HID descriptor, and control the cursor of the operating system according to the second HID descriptor.
本發明更提供一種滑鼠靈敏度同步方法,用於一顯示裝置,其中該顯示裝置包括一顯示模組、一顯示控制器、一第一通用序列匯流排(USB)介面及一USB集線器。顯示裝置電性連接至一主機,該主機係運行一作業系統,且該第一USB介面電性連接至該顯示控制器。該方法包括:將一第一USB滑鼠連接至該USB介面,其中該第一USB滑鼠使用第一靈敏度;當一第二USB滑鼠取代該第一USB滑鼠以連接至該第一USB介面或該第二USB滑鼠連接至該顯示裝置之第二USB介面,利用該顯示控制器調整該第二USB滑鼠回報至該顯示控制器之第一人類介面裝置(HID)描述符以產生第二HID描述符,其中該第二USB滑鼠所使用的第二靈敏度與該第一USB滑鼠所使用的該第一靈敏度不同,且該第二HID描述符係對齊該第一靈敏度;以及利用該顯示控制器將該第二HID描述符透過該USB集線器回報至該主機以使該主機依據該第二HID描述符控制該作業系統之游標。The present invention further provides a mouse sensitivity synchronization method for a display device, wherein the display device includes a display module, a display controller, a first universal serial bus (USB) interface and a USB hub. The display device is electrically connected to a host, the host runs an operating system, and the first USB interface is electrically connected to the display controller. The method includes: connecting a first USB mouse to the USB interface, wherein the first USB mouse uses a first sensitivity; when a second USB mouse replaces the first USB mouse to connect to the first USB The interface or the second USB mouse is connected to the second USB interface of the display device, and the display controller is used to adjust the second USB mouse to report to the first Human Interface Device (HID) descriptor of the display controller to generate a second HID descriptor, wherein the second sensitivity used by the second USB mouse is different from the first sensitivity used by the first USB mouse, and the second HID descriptor is aligned with the first sensitivity; and The display controller reports the second HID descriptor to the host through the USB hub, so that the host controls the cursor of the operating system according to the second HID descriptor.
為使本發明之上述目的、特徵和優點能更明顯易懂,下文特舉一較佳實施例,並配合所附圖式,作詳細說明如下。In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, a preferred embodiment is exemplified below, and is described in detail as follows in conjunction with the accompanying drawings.
第1A圖為依據本發明一實施例中之電腦系統的方塊圖。電腦系統10例如可為配備有顯示裝置的個人電腦或伺服器。如第1A圖所示,電腦系統10包括一主機100及一顯示裝置200,其中主機100係電性連接至顯示裝置200。主機100例如包括一處理單元110、一圖形處理單元120、一記憶體單元130、一儲存裝置140、一或多個傳輸介面150。處理單元110、圖形處理單元120、記憶體單元130、儲存裝置140及傳輸介面150係透過系統匯流排111而互相耦接。處理單元110例如可為中央處理器(CPU)、一般用途處理器(general-purpose processor)等等,但本發明並不限於此。圖形處理單元120例如可為一顯示卡上的圖形處理單元或是整合至處理器110中之圖形處理單元。FIG. 1A is a block diagram of a computer system according to an embodiment of the present invention. The
記憶體單元130為一隨機存取記憶體,例如是動態隨機存取記憶體(DRAM)或靜態隨機存取記憶體(SRAM),但本發明並不限於此。儲存裝置140為一非揮發性記憶體(non-volatile memory),例如可為一硬碟機(hard disk drive)、一固態硬碟(solid-state disk)、一快閃記憶體(flash memory)、或一唯讀記憶體(read-only memory),但本發明並不限於此。The
傳輸介面150可包括有線傳輸介面及/或無線傳輸介面,其中有線傳輸介面可包括:高解析度多媒體介面(High Definition Multimedia Interface,HDMI)、顯示埠(DisplayPort,DP)介面、嵌入式顯示埠(embedded DisplayPort,eDP)、介面通用序列匯流排(Universal Serial Bus,USB)介面、USB Type-C介面、雷靂(Thunderbolt)介面、數位視訊介面(DVI)、視訊圖形陣列(VGA)介面、一般用途輸入輸出(GPIO)介面、通用非同步收發傳輸器(UART)介面、序列周邊介面(SPI)介面、積體電路匯流排(I2C)介面、或其組合,且無線傳輸介面可包括:藍芽(Bluetooth)、WiFi、近場通訊(NFC)介面等等,但本發明並不限於此。The
舉例來說,儲存裝置140可儲存一或多個應用程式141、一作業系統142(例如可為Windows、Linux、MacOS等等),且處理單元110係將一或多個應用程式141及作業系統142讀取至記憶體單元130並執行。圖形處理單元120例如可進行處理單元110所執行之應用程式的繪圖處理以產生包括一或多張影像的一影像信號,並透過傳輸介面150 (例如HDMI介面或DisplayPort介面)將影像信號傳送至顯示裝置200。For example, the
顯示裝置200例如可為平面顯示器、電視、投影機、電腦螢幕等裝置,但本發明並不限於此。顯示裝置200包括一顯示控制器210、一顯示模組220、一儲存單元230、一影像緩衝器240、傳輸介面250、一輸入介面260、及一集線器(HUB)270。傳輸介面250可包括有線傳輸介面及/或無線傳輸介面,其中有線傳輸介面可包括:高解析度多媒體介面(High Definition Multimedia Interface,HDMI)、顯示埠(DisplayPort,DP)介面、嵌入式顯示埠(embedded DisplayPort,eDP)、通用序列匯流排(Universal Serial Bus,USB)介面、USB Type-C介面、雷靂(Thunderbolt)介面、數位視訊介面(DVI)、視訊圖形陣列(VGA)介面、一般用途輸入輸出(GPIO)介面、通用非同步收發傳輸器(UART)介面、序列周邊介面(SPI)介面、積體電路匯流排(I2C)介面、或其組合,且無線傳輸介面可包括:藍芽(Bluetooth)、WiFi、近場通訊(NFC)介面等等,但本發明並不限於此。The
顯示控制器210例如可為一應用導向積體電路(application-specific integrated circuit)、一晶片系統(System-on-chip)、一處理器、或一微控制器,但本發明並不限於此。The
顯示模組220例如可為一液晶(liquid crystal)面板、一發光二極體(light-emitting diode)面板、一有機發光二極體(organic light-emitting diode)面板、一陰極射線管(cathode ray tube)、電子墨水(E-Ink)顯示模組、電致發光(electroluminescent)顯示模組、電漿(Plasma)顯示模組、投影(projection)顯示模組、量子點(Quantum Dot)顯示模組、但本發明並不限於此。The
儲存單元230例如可為一非揮發性記憶體,例如唯讀記憶體(ROM)、可抹除可編程唯讀記憶體(EPROM)、電子抹除式可編程唯讀記憶體(EEPROM)。儲存單元230係用以儲存顯示裝置200相關的韌體231及螢幕上顯示介面(on-screen-display(OSD) interface)232。儲存單元230例如可在顯示控制器210之外部、或是可整合至顯示控制器210中。The storage unit 230 can be, for example, a non-volatile memory, such as read only memory (ROM), erasable programmable read only memory (EPROM), and electronically erasable programmable read only memory (EEPROM). The storage unit 230 is used for storing the
韌體231例如包括顯示裝置200的螢幕上顯示介面之顯示設定及延伸顯示能力識別資料(Extended Display Identification Data,EDID)及顯示設定。延伸顯示能力識別資料例如包括顯示裝置200的製造廠商、產品名稱、解析度、每秒顯示幀數等等。顯示設定例如包括顯示裝置200之亮度、對比、銳利度、色溫等設定。The
在一實施例中,顯示控制器210可透過一匯流排(例如I2C匯流排)以讀取儲存於儲存單元230中之韌體231及OSD介面232之程式碼,並據以設定相關的顯示參數。此外,顯示控制器210亦可透過傳輸介面250(例如可為影像傳輸通道或資料傳輸通道)以將顯示裝置200的延伸顯示能力識別資料傳送至主機100,以供主機100中之處理單元110及圖形處理單元120設定所要輸出的影像信號之解析度及相關的同步信號。螢幕上顯示介面232例如包括螢幕上顯示選單(OSD Menu)及選項、資訊顯示介面(information dashboard)、計時器、計數器、準星(crosshair)、特定符號、特定顏色、特定文字、或其組合,但本發明並不限於此。In one embodiment, the
影像緩衝器240例如可為一揮發性記憶體(例如動態隨機存取記憶體)或一非揮發性記憶體(例如快閃記憶體),其係用以儲存欲在顯示模組220上播放的輸出影像,其中主機100或顯示控制器210可依據主機100所產生之一螢幕上顯示致能信號以將一或多個螢幕上顯示介面232覆蓋儲存於影像緩衝器240中的影像信號之一特定區域以產生輸出影像。The
輸入介面260係用以控制顯示裝置200之螢幕上顯示選單。輸入介面260係可由例如可由一五向控制桿262或是由五個實體按鈕261所實現,藉以實現上、下、左、右、及確認等指令。集線器270例如為一USB集線器,且傳輸介面250包括USB介面,且主機100可透過傳輸介面150及250中的USB介面經由集線器270以傳送資料至顯示控制器210,且顯示控制器210同樣可透過傳輸介面150及250中的USB介面或USB Type-C介面(即資料傳輸通道)經由集線器270以傳送資料至主機100。The
在一實施例中,當使用者進行五向控制桿262之其中一個方向之操作(或是按下其中一個實體按鈕261時,顯示控制器210可從儲存單元230讀取韌體231以及螢幕上顯示介面232中之螢幕上顯示選單及相關選項的程式碼,並在顯示模組220上顯示螢幕上顯示選單及相關選項。在一實施例中,使用者可在輸入介面260上進行操作以控制顯示裝置200之螢幕上顯示選單,進而調整顯示模組220之亮度、對比、銳利度、色溫、或開啟或關閉螢幕上顯示介面232中之其他介面。舉例來說,韌體231例如可視為顯示裝置200之預設韌體,且使用者可經由五向控制桿262(或實體按鈕261)以控制顯示裝置200所顯示之螢幕上顯示介面232之選項設定。In one embodiment, when the user operates one of the directions of the five-direction joystick 262 (or presses one of the
在一實施例中,顯示控制器210係包括一影像縮放器(image scaler)211及一時序控制器(timing controller)212。顯示控制器210係透過傳輸介面250以接收來自主機100的影像信號及/或來自其他主機的影像信號,且影像縮放器211可將所接收之影像信號中的影像進行影像縮放處理及/或影像疊合處理以符合顯示模組220之解析度,並將經過影像縮放處理後的影像(例如稱為輸出影像)儲存至影像緩衝器240。時序控制器212則控制顯示模組220從影像緩衝器240讀取輸出影像並播放。In one embodiment, the
在另一實施例中,顯示控制器210可包括時序控制器212,且來自主機100的影像信號的解析度係符合顯示模組220的解析度,故顯示控制器210接收到來自主機100的影像信號後可不必經過影像縮放處理就將影像信號儲存於影像緩衝器240中。時序控制器220可由從影像緩衝器240讀取輸出影像,並控制顯示模組220以播放輸出影像。In another embodiment, the
在一實施例中,顯示裝置200更包括USB介面251及252,且USB介面251及252均電性連接至顯示控制器210。USB滑鼠281及282(例如為USB滑鼠)係分別連接至USB介面251及252,且USB滑鼠281及282可具有不同的靈敏度(sensitivity),其中靈敏度例如可用每英吋點數(dots per inch,DPI)表示。In one embodiment, the
為了便於說明,USB滑鼠281例如為使用者原本慣用的滑鼠,且USB滑鼠282例如為使用者更換後的滑鼠,且USB滑鼠281之靈敏度高於USB滑鼠282之靈敏度。在此實施例中,USB滑鼠281及282可以不必同時連接至顯示裝置200,使用者例如可將USB滑鼠281替換為USB滑鼠282,且USB滑鼠282可連接至USB介面251及252的其中一者。此外,USB滑鼠281及282亦可同時分別連接至USB介面251及252。For convenience of description, the
在此實施例中,顯示控制器210可提供實體的製造商辨識符(vendor ID)及產品辨識符(product ID)以供主機100辨識,並且可將連接至集線器270的USB滑鼠281及282宣告為USB人類介面裝置(human interface device,HID)。對於主機100來説,當USB滑鼠281或282連接至顯示裝置200時,作業系統142可透過USB通道(例如資料傳輸通道)而辨識出顯示控制器210所宣告的USB人類介面裝置,就算USB滑鼠281及282同時連接至顯示裝置200,作業系統142同樣只會辨識顯示控制器210所宣告的上述USB人類介面裝置。此外,USB滑鼠281及282均是控制作業系統142繪製的游標。In this embodiment, the
需注意的是,USB滑鼠281及282所回報的USB信號291及292並不帶有任何靈敏度資訊(例如DPI資訊),且主機100未安裝任何特定廠商之滑鼠驅動程式的情況下,主機100及顯示裝置200均無法直接得到USB滑鼠281及282的靈敏度。若主機100已安裝特定廠商之滑鼠驅動程式,但是USB滑鼠281及282均非該特定廠商所製造,主機100及顯示裝置200同樣無法直接得到USB滑鼠281及282的靈敏度。It should be noted that the USB signals 291 and 292 reported by the
一般來説,使用者並無法使用專業的測試器材(例如機器手臂)控制滑鼠朝同一方向移動固定距離(例如1英吋)以得知作業系統142之游標所移動的像素數量,進而計算出USB滑鼠281及282的靈敏度。使用者能得知USB滑鼠281及282之靈敏度的情況通常是透過USB滑鼠281及282的產品型號及其靈敏度設定(若有多個段數設定),進而查找其對應的靈敏度數值。Generally, the user cannot use professional testing equipment (such as a robotic arm) to control the mouse to move a fixed distance (such as 1 inch) in the same direction to know the number of pixels moved by the cursor of the
詳細而言,USB滑鼠281及282會以固定速率(例如USB協定中之回報速率為125Hz)回報HID描述符(descriptor)至主機100,且USB滑鼠281及282中之控制器(未繪示)會將USB滑鼠281及282之HID描述符分別編碼為USB信號291及292。HID描述符可定義USB滑鼠281及282支援多少個封包、封包大小、以及封包中之各個位元組及位元的目的,例如按鈕(至少包含左鍵、右鍵及滾輪/中鍵)及X軸/Y軸的移動量(例如均為8位元有號數)。舉例來説,每個HID描述符可用3個位元組之封包表示,如表1所示:
此外,顯示控制器210可支援USB協定之解碼及編碼,且USB信號291及292會先經過顯示控制器210進行解碼以得到USB滑鼠281及282所回報的HID描述符。為了便於說明,在下述實施例中,假定USB滑鼠281之靈敏度為800DPI且USB滑鼠282之靈敏度為400DPI。假定顯示模組220之解析度為1920x1080,若將USB滑鼠281往右移動1英吋時,作業系統142之游標20會從位置A移動至位置C。若將USB滑鼠282往右移動1英吋時,作業系統142之游標20會從位置A移動至位置B,如第2圖所示。In addition, the
在第一情境中,USB滑鼠281及282並不具有韌體更新之功能。若顯示裝置200及USB滑鼠281為同一廠商所製造,則顯示控制器210可從USB滑鼠281所回報的USB信號中得知USB滑鼠281的裝置辨識符(device ID)及相關靈敏度設定,故顯示控制器210可得知USB滑鼠281之靈敏度為800DPI。若USB滑鼠281為使用者慣用的滑鼠,使用者可在顯示裝置200之OSD介面232中選擇相應的選項以儲存USB滑鼠281的靈敏度為第一靈敏度設定(例如可儲存於儲存單元230之韌體231)。In the first situation, the
若顯示裝置200及USB滑鼠281並非同一廠商所製造,則顯示控制器210可從USB滑鼠281所回報的USB信號中得知USB滑鼠281的裝置辨識符(device ID),但無法得知USB滑鼠281的相關靈敏度設定。此時,在使用者可得知USB滑鼠281之產品型號並確定其靈敏度的情況下,使用者可在顯示裝置200的OSD介面232中輸入USB滑鼠281之靈敏度為800DPI並儲存為第一靈敏度設定(例如可儲存於儲存單元230之韌體231)。If the
當使用者將USB滑鼠281更換為USB滑鼠282(即連接至USB介面251)或是將USB滑鼠282連接至USB介面252後,同樣會有顯示裝置200及USB滑鼠282為同一廠商所製造或非由同一廠商所製造的情況。若顯示裝置200及USB滑鼠282為同一廠商所製造,則顯示控制器210可從USB滑鼠282所回報的USB信號中得知USB滑鼠282的裝置辨識符(device ID)及相關靈敏度設定,故顯示控制器210可得知USB滑鼠282之靈敏度為400DPI。此時,當顯示裝置200之滑鼠靈敏度同步功能開啟時,為了要將USB滑鼠281及282的靈敏度進行同步,顯示控制器210可將USB滑鼠282之HID描述符中的X軸位移量及Y軸位移量乘上相應的倍數N。在此實施例中,因為USB滑鼠281及282的靈敏度分別為800DPI及400DPI,故上述倍數N=800/400=2,意即顯示控制器210可將USB滑鼠282之HID描述符(例如為第一HID描述符)中的X軸位移量及Y軸位移量乘以2,故可將USB滑鼠282之靈敏度放大為2倍而等於USB滑鼠281之靈敏度。接著,顯示控制器210係將修改後的USB滑鼠282之HID描述符(例如為第二HID描述符)傳送至集線器270。集線器270可將第二HID描述符編碼為USB信號,並透過傳輸介面250及150(例如為USB介面或USB Type-C介面)將上述USB信號傳送至主機100。主機100在解碼上述USB信號後即可得到第二HID描述符,並依據第二HID描述符之內容以對作業系統142之游標進行相應的操作。When the user replaces the
若顯示裝置200及USB滑鼠282並非同一廠商所製造,則顯示控制器210可從USB滑鼠282所回報的USB信號中得知USB滑鼠282的裝置辨識符(device ID),但無法得知USB滑鼠282的相關靈敏度設定。此時,在使用者可得知USB滑鼠282之產品型號並確定其靈敏度的情況下,使用者可在顯示裝置200的OSD介面232中輸入USB滑鼠282之靈敏度為400DPI並儲存為第二靈敏度設定(例如可儲存於儲存單元230之韌體231)。類似地,顯示控制器210可將USB滑鼠282之HID描述符中的X軸位移量及Y軸位移量乘以2,即可將USB滑鼠282之靈敏度放大為2倍而等於USB滑鼠281之靈敏度。If the
需注意的是,在上述實施例中係以較低的第二靈敏度對齊較高的第一靈敏度,使用者亦可在OSD介面232之相關選項中選擇由較高的第一靈敏度對齊較低的第二靈敏度,意即上述倍數N=1/2,故顯示控制器210可將USB滑鼠281之HID描述符中的X軸位移量及Y軸位移量乘以1/2,即可將USB滑鼠281之靈敏度縮小為1/2倍而等於USB滑鼠282之靈敏度。當USB滑鼠282之靈敏度對齊USB滑鼠281之靈敏度後,使用者無需在作業系統142或應用程式/電腦遊戲中修改與滑鼠靈敏度的相關設定即可使用USB滑鼠282進行與USB滑鼠281相同的移動操作。It should be noted that in the above embodiment, the lower second sensitivity is used to align the higher first sensitivity, and the user can also choose to align the lower first sensitivity with the higher first sensitivity in the related options of the
在第二情境中,USB滑鼠281及282與顯示裝置200均為相同的製造廠商所生產且USB滑鼠281及282具有相同產品型號。此外,USB滑鼠281及282係使用具有多段靈敏度設定的相同光學感測器,且USB滑鼠281及282具有韌體更新之功能。因此,顯示控制器210可讀取USB滑鼠281之韌體及相關設定(可包括靈敏度、回報率等等)並儲存為第一韌體設定。接著,當顯示控制器210欲同步USB滑鼠281及282之靈敏度時,顯示控制器210將第一韌體設定更新至USB滑鼠282之韌體以使USB滑鼠282之靈敏度與第一韌體設定中之靈敏度相同。In the second scenario, the
在第三情境中,USB滑鼠281及282與顯示裝置200均為相同的製造廠商所生產但USB滑鼠281及282具有不同產品型號。此外,USB滑鼠281及282係使用具有不同的光學感測器,且USB滑鼠282具有韌體更新之功能。因此,顯示控制器210可從USB滑鼠281及282回報的USB信號291及292得知USB滑鼠281及282之光學感測器的靈敏度。In the third scenario, the
顯示裝置200之韌體231並記錄該製造廠商之相關滑鼠的韌體格式及設定的查找表(未繪示)。因此,顯示控制器210可讀取USB滑鼠281之韌體及相關靈敏度設定並儲存為第一韌體設定。接著,當顯示控制器210欲同步USB滑鼠281及282之靈敏度時,顯示控制器210依據韌體231中的查找表將第一韌體設定轉換為適用於USB滑鼠282的第二韌體設定,並將第二韌體設定更新至USB滑鼠282的韌體以使USB滑鼠282之靈敏度與第一韌體設定中之靈敏度相同。The
第1B圖為依據本發明另一實施例中之電腦系統的方塊圖。FIG. 1B is a block diagram of a computer system according to another embodiment of the present invention.
第1B圖係與第1A圖類似,其差別在於在第1B圖中的顯示裝置200更包括一滑鼠控制器271,電性連接至顯示控制器210及集線器270,且滑鼠控制器271係設置於集線器270之外部。滑鼠控制器271例如可用一嵌入式微控制器(embedded microcontroller)或是一滑鼠積體電路(IC)所實現,用以提供實體的製造商辨識符(vendor ID)及產品辨識符(product ID)以供主機100辨識,並且可將連接至集線器270的USB滑鼠281及282宣告為人類介面裝置(HID)。FIG. 1B is similar to FIG. 1A, the difference is that the
對於主機100來説,當USB滑鼠281或282連接至顯示裝置200時,作業系統142可透過USB通道(例如資料傳輸通道)而辨識出滑鼠控制器271所宣告的USB人類介面裝置,就算USB滑鼠281及282同時連接至顯示裝置200,作業系統142同樣只會辨識滑鼠控制器271所宣告的上述USB人類介面裝置。此外,USB滑鼠281及282均是控制作業系統142繪製的游標。For the
在此實施例中,顯示控制器210可將修改後的USB滑鼠282之HID描述符(例如為第二HID描述符)傳送至集線器270。集線器270可將第二HID描述符編碼為USB信號,並透過傳輸介面250及150(例如為USB介面或USB Type-C介面)將上述USB信號傳送至主機100。主機100在解碼上述USB信號後即可得到第二HID描述符,並依據第二HID描述符之內容以對作業系統142之游標進行相應的操作。In this embodiment, the
第1C圖為依據本發明又一實施例中之電腦系統的方塊圖。FIG. 1C is a block diagram of a computer system according to another embodiment of the present invention.
第1C圖係與第1A圖類似,其差別在於在第1C圖中的顯示裝置200中之集線器270更包括一滑鼠控制器271及一微控制器276。滑鼠控制器271例如可用一嵌入式微控制器(embedded microcontroller)或是一滑鼠積體電路(IC)所實現,用以提供實體的製造商辨識符(vendor ID)及產品辨識符(product ID)以供主機100辨識,並且可將連接至集線器270的USB滑鼠281及282宣告為人類介面裝置(HID)。在一些實施例中,集線器270中之微控制器276與滑鼠控制器271是不同的實體元件。在另一些實施例中,滑鼠控制器271之功能係可整合至微控制器276,且微控制器276所執行的韌體包括滑鼠控制器271之相關功能。FIG. 1C is similar to FIG. 1A, except that the
對於主機100來説,當USB滑鼠281或282連接至顯示裝置200時,作業系統142可透過USB通道(例如資料傳輸通道)而辨識出滑鼠控制器271所宣告的USB人類介面裝置,就算USB滑鼠281及282同時連接至顯示裝置200,作業系統142同樣只會辨識滑鼠控制器271所宣告的上述USB人類介面裝置。此外,USB滑鼠281及282均是控制作業系統142繪製的游標。For the
在此實施例中,顯示控制器210可將修改後的USB滑鼠282之HID描述符(例如為第二HID描述符)傳送至集線器270。集線器270可將第二HID描述符編碼為USB信號,並透過傳輸介面250及150(例如為USB介面或USB Type-C介面)將上述USB信號傳送至主機100。主機100在解碼上述USB信號後即可得到第二HID描述符,並依據第二HID描述符之內容以對作業系統142之游標進行相應的操作。In this embodiment, the
第3圖為依據本發明一實施例中滑鼠靈敏度同步方法的流程圖。請同時參考第1A圖及第3圖。FIG. 3 is a flowchart of a method for synchronizing mouse sensitivity according to an embodiment of the present invention. Please refer to Figure 1A and Figure 3 at the same time.
在步驟S310,將第一USB滑鼠(例如USB滑鼠281)連接至顯示裝置200之USB介面251,並將第一USB滑鼠所使用的第一靈敏度儲存為第一靈敏度設定。舉例來説,若顯示裝置200及第一USB滑鼠為同製造廠商所生產,顯示控制器210可從第一USB滑鼠所回報的USB信號中得知第一USB滑鼠的裝置辨識符(device ID)及其對應的第一靈敏度,並將第一靈敏度自動儲存第一靈敏度設定。若顯示裝置200及第一USB滑鼠為不同製造廠商所生產或顯示控制器210無法從第一USB滑鼠所回報的USB信號得知第一USB滑鼠之裝置辨識符對應的第一靈敏度,則顯示控制器210無法讀取第一USB滑鼠之韌體相關設定,故顯示裝置200可提供OSD介面232以供使用者設定第一USB滑鼠之第一靈敏度並儲存為第一靈敏度設定。In step S310, the first USB mouse (eg, the USB mouse 281) is connected to the
在步驟S320,當第二USB滑鼠(例如USB滑鼠282)取代第一USB滑鼠以連接至顯示裝置200之USB介面251,顯示控制器210調整第二USB滑鼠回報至顯示控制器210之第一HID描述符以產生第二HID描述符,其中第二USB滑鼠所使用的第二靈敏度與第一USB滑鼠所使用的第一靈敏度不同,且該第二HID描述符係符合第一靈敏度設定。In step S320 , when the second USB mouse (eg, the USB mouse 282 ) replaces the first USB mouse to connect to the
舉例來説,第二USB滑鼠所使用的第二靈敏度可高於或低於第一USB滑鼠所使用的第一靈敏度。此外,第二USB滑鼠亦可連接至顯示裝置200之USB介面252。類似地,若顯示裝置200及第一USB滑鼠為同製造廠商,顯示控制器210可從第二USB滑鼠所回報的USB信號中得知第二USB滑鼠的裝置辨識符(device ID)及所使用的第二靈敏度。若顯示裝置200及第二USB滑鼠為不同製造廠商,則顯示控制器210無法讀取第二USB滑鼠之韌體相關設定,故使用者可在顯示裝置200之OSD介面232手動設定第二USB滑鼠之第二靈敏度。For example, the second sensitivity used by the second USB mouse may be higher or lower than the first sensitivity used by the first USB mouse. In addition, the second USB mouse can also be connected to the
此外,顯示控制器210可計算第一靈敏度及第二靈敏度之比值N,並將第二USB滑鼠回報至顯示控制器210之第一HID描述符中的X軸位移量及Y軸位移量乘以比值N以得到第二HID描述符。In addition, the
在步驟S330,顯示控制器210將第二HID描述符透過USB集線器回報至主機100以使主機100依據第二HID描述符控制作業系統142之游標。舉例來説,因為第二HID描述符中之X軸位移量及Y軸位移量已經過調整而對齊第一靈敏度中的X軸位移量及Y軸位移量,故對於主機100而言,第二USB滑鼠所使用的靈敏度係與第一USB滑鼠所使用的第一靈敏度相同。In step S330, the
綜上所述,本發明係提供一種顯示裝置及其滑鼠靈敏度同步方法,其可將連接至顯示裝置之不同滑鼠的靈敏度自動進行同步,且使用者不需更動原本使用的舊滑鼠之靈敏度設定即可讓具有不同靈敏度的新滑鼠在主機上之操作與使用舊滑鼠之靈敏度設定之操作相同,進而增加使用者體驗。In summary, the present invention provides a display device and a mouse sensitivity synchronization method thereof, which can automatically synchronize the sensitivity of different mice connected to the display device, and the user does not need to change the sensitivity of the old mouse that was originally used. Sensitivity setting allows a new mouse with a different sensitivity to operate on the console the same as using the sensitivity setting of an old mouse, thereby enhancing the user experience.
於權利要求中使用如”第一”、"第二"、"第三"等詞係用來修飾權利要求中的元件,並非用來表示之間具有優先權順序,先行關係,或者是一個元件先於另一個元件,或者是執行方法步驟時的時間先後順序,僅用來區別具有相同名字的元件。The use of words such as "first", "second", "third", etc. in the claims is used to modify the elements in the claims, and is not used to indicate that there is a priority order, antecedent relationship, or an element between them Prior to another element, or chronological order in which method steps are performed, is only used to distinguish elements with the same name.
本發明雖以較佳實施例揭露如上,然其並非用以限定本發明的範圍,任何所屬技術領域中具有通常知識者,在不脫離本發明之精神和範圍內,當可做些許的更動與潤飾,因此本發明之保護範圍當視後附之申請專利範圍所界定者為準。Although the present invention is disclosed above with preferred embodiments, it is not intended to limit the scope of the present invention. Anyone with ordinary knowledge in the technical field can make some changes and modifications without departing from the spirit and scope of the present invention. Therefore, the scope of protection of the present invention should be determined by the scope of the appended patent application.
10:電腦系統
20:游標
100:主機
200:顯示裝置
110:處理單元
111:系統匯流排
120:圖形處理單元
130:記憶體單元
140:儲存裝置
141:應用程式
142:作業系統
150:傳輸介面
210:顯示控制器
211:影像縮放器
212:時序控制器
220:顯示模組
230:儲存單元
231:韌體
232:螢幕上顯示介面
240:影像緩衝器
250:傳輸介面
251、252:USB介面
260:輸入介面
261:實體按鈕
262:五向控制桿
270:集線器
271:滑鼠控制器
276:微控制器
281、282:USB滑鼠
291、292:USB信號
S310-S330:步驟
10: Computer System
20: Cursor
100: host
200: Display device
110: Processing unit
111: System busbar
120: Graphics Processing Unit
130: Memory unit
140: Storage Device
141: Apps
142: Operating System
150: Transmission interface
210: Display Controller
211: Image resizer
212: Timing Controller
220: Display Module
230: Storage Unit
231:Firmware
232: Display interface on the screen
240: Image buffer
250:
第1A圖為依據本發明一實施例中之電腦系統的方塊圖。 第1B圖為依據本發明另一實施例中之電腦系統的方塊圖。 第1C圖為依據本發明又一實施例中之電腦系統的方塊圖。 第2圖為依據本發明一實施例中作業系統之游標在不同滑鼠靈敏度下之移動操作的示意圖。 第3圖為依據本發明一實施例中滑鼠靈敏度同步方法的流程圖。 FIG. 1A is a block diagram of a computer system according to an embodiment of the present invention. FIG. 1B is a block diagram of a computer system according to another embodiment of the present invention. FIG. 1C is a block diagram of a computer system according to another embodiment of the present invention. FIG. 2 is a schematic diagram of the moving operation of the cursor of the operating system under different mouse sensitivities according to an embodiment of the present invention. FIG. 3 is a flowchart of a method for synchronizing mouse sensitivity according to an embodiment of the present invention.
10:電腦系統 10: Computer System
100:主機 100: host
200:顯示裝置 200: Display device
110:處理單元 110: Processing unit
111:系統匯流排 111: System busbar
120:圖形處理單元 120: Graphics Processing Unit
130:記憶體單元 130: Memory unit
140:儲存裝置 140: Storage Device
141:應用程式 141: Apps
142:作業系統 142: Operating System
150:傳輸介面 150: Transmission interface
210:顯示控制器 210: Display Controller
211:影像縮放器 211: Image resizer
212:時序控制器 212: Timing Controller
220:顯示模組 220: Display Module
230:儲存單元 230: Storage Unit
231:韌體 231:Firmware
232:螢幕上顯示介面 232: Display interface on the screen
240:影像緩衝器 240: Image buffer
250:傳輸介面 250: Transmission interface
251、252:USB介面 251, 252: USB interface
260:輸入介面 260: input interface
261:實體按鈕 261: Entity button
262:五向控制桿 262: Five-way joystick
270:集線器 270: Hub
281、282:USB滑鼠 281, 282: USB mouse
291、292:USB信號 291, 292: USB signal
Claims (14)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW109147002A TWI766518B (en) | 2020-12-31 | 2020-12-31 | Display apparatus and method of synchronizing mouse sensitivities |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW109147002A TWI766518B (en) | 2020-12-31 | 2020-12-31 | Display apparatus and method of synchronizing mouse sensitivities |
Publications (2)
Publication Number | Publication Date |
---|---|
TWI766518B true TWI766518B (en) | 2022-06-01 |
TW202227942A TW202227942A (en) | 2022-07-16 |
Family
ID=83103584
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
TW109147002A TWI766518B (en) | 2020-12-31 | 2020-12-31 | Display apparatus and method of synchronizing mouse sensitivities |
Country Status (1)
Country | Link |
---|---|
TW (1) | TWI766518B (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101714035A (en) * | 2009-11-07 | 2010-05-26 | 硕维科技有限公司 | Mouse DPI automatic regulation method and DPI automatic regulation mouse |
CN105260041A (en) * | 2015-09-30 | 2016-01-20 | 中国航天员科研训练中心 | automatic mouse DPI adjusting method and speed-adaptive mouse |
US9927883B1 (en) * | 2015-01-12 | 2018-03-27 | Google Llc | Mouse resolution estimation |
CN107960124A (en) * | 2016-05-16 | 2018-04-24 | 深圳维盛半导体科技有限公司 | A kind of mouse and method of DPI automatic adjustments |
TW202020648A (en) * | 2018-11-27 | 2020-06-01 | 技嘉科技股份有限公司 | Computer system, display apparatus, and display method of an on-screen-display interface |
TW202028959A (en) * | 2019-01-23 | 2020-08-01 | 緯創資通股份有限公司 | Display apparatus and control method for high display bandwidth thereof |
-
2020
- 2020-12-31 TW TW109147002A patent/TWI766518B/en active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101714035A (en) * | 2009-11-07 | 2010-05-26 | 硕维科技有限公司 | Mouse DPI automatic regulation method and DPI automatic regulation mouse |
US9927883B1 (en) * | 2015-01-12 | 2018-03-27 | Google Llc | Mouse resolution estimation |
CN105260041A (en) * | 2015-09-30 | 2016-01-20 | 中国航天员科研训练中心 | automatic mouse DPI adjusting method and speed-adaptive mouse |
CN107960124A (en) * | 2016-05-16 | 2018-04-24 | 深圳维盛半导体科技有限公司 | A kind of mouse and method of DPI automatic adjustments |
TW202020648A (en) * | 2018-11-27 | 2020-06-01 | 技嘉科技股份有限公司 | Computer system, display apparatus, and display method of an on-screen-display interface |
TW202028959A (en) * | 2019-01-23 | 2020-08-01 | 緯創資通股份有限公司 | Display apparatus and control method for high display bandwidth thereof |
Also Published As
Publication number | Publication date |
---|---|
TW202227942A (en) | 2022-07-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
TWI673645B (en) | Computer system, display apparatus, and display method of an on-screen-display interface | |
TWI733535B (en) | Display system and display apparatus | |
US11269424B2 (en) | Electronic device and trigger method of macro key using external input signal | |
TWI766518B (en) | Display apparatus and method of synchronizing mouse sensitivities | |
US11471757B2 (en) | Electronic device and method of automatically triggering hot key using display image | |
US20210201844A1 (en) | Electronic device and display method of on-screen-display interface | |
CN111782169A (en) | Computer system, display device and operation method of display interface on screen | |
CN114690917A (en) | Display device and mouse sensitivity synchronization method | |
US12027137B2 (en) | Display apparatus and method for preventing image burn-in thereof | |
TWI826203B (en) | Computer device and display device | |
US11361698B2 (en) | Electronic device and method of burn-in prevention for electronic device | |
TWI766509B (en) | Display apparatus and control method of projected on-screen-display interface | |
US20230214169A1 (en) | Display apparatus and method for adjusting headphone volume | |
CN114697622A (en) | Display device and control method of display interface on projection type screen | |
CN116343711A (en) | Display device and picture burn-in preventing method thereof | |
CN116416886A (en) | Display device and picture dimming method thereof |