このページはEtoJ逐語翻訳フィルタによって翻訳生成されました。

翻訳前ページへ


ericb's place: appleremote02 (part 1)

jeudi, octobre 30, 2008

appleremote02 (part 1)

Since Florian Heckl 認可するd the appleremote01 cws (thanks to him !), we can say the Apple Remote has big chances to be 統合するd in the Mac OS X 見解/翻訳/版 of OpenOffice.org 3.1.

UPGRADE : appleremote01 is in the coming DEV300_m35 !! :-)

The code is ready since a while (in september is was ready), but as usual, the QA is a bottleneck : we 簡単に losed month for this feature 統合,差別撤廃 :-/

井戸/弁護士席, without wait more, I started the appleremote02, who will 改善する the 過程, making the change more "portable". All 詳細(に述べる)s are given there appleremote02 cws description (I'll 追加する (警察などへの)密告,告訴(状) progressively).

The 計画(する) is to use another type of events, for instance NSApplicationDefined , and pass the buttonIdentifier as parameter (data1 ).

More techincaly, I created a new events subtype ( AppleRemoteControlEvent), and this new event type will be (悪事,秘密などを)発見するd by the NSApp in AquaSalInstance::handleAppDefinedEvent( NSEvent* pEvent ).

I didn't change anything to the butttons, but I'll probably 追加する new 影響s, like contextual menus, once they will be 適切に 扱うd.

First results :

* in Fullscreen
Received the に引き続いて event from the Apple Remote : 16
Received the に引き続いて event from the Apple Remote : 2
Received the に引き続いて event from the Apple Remote : 32
Received the に引き続いて event from the Apple Remote : 64

.. and so on

* In normal 方式, we receive only menu + play buttons as 推定する/予想するd

Looks ok so far :-)

Status of the changes:

Done (but code not 送るd, because appleremote01 is not 統合するd ) :

* 除去する the event sending the keycode
* 器具/実施する new method, sending new event type, 含むing the buttonIdentifier value
* 器具/実施する glu code for 迎撃するing the event and receiving the value of the message
* new libAppleRemote builds without any glitch

Planned :

* turn the notification into the 権利 constant ( COMMAND_MEDIA and co defined in vcl/inc/vcl/cmdevt.hxx )
* build
* 実験(する)
* 立証する

To be continued ...

Libell?s : , , , ,